Re: HOME and END Keys
Posted in 1996
pkh@vus002.telecom.com.au (Patrick Huang) wrote: :Does anyone know how to trap the Home and End keys like those defined in :I-4GL for nextpage, prevpage, right, left, etc... :We have users who accidentally or inadvertently presses the Home and End :keys and because the Home and End keys maps to a key sequence like <Esc>[1~, :the <Esc> takes them out of say an input mode. (We happen to also use the :<Esc> key to cancel out of whatever.) :Any insights, help, etc appreciated. One possible way is to define them as function keys in termcap/terminfo. Simply put in the codes after kC and kD (in termcap or coresponding codes in terminfo) or whatever is the next available codes. They will then look like the corresponding function keys (F13 and F14 in the above excample) to your 4GL application. Nils.Myklebust@idg.no NM Data AS, P.O.Box 9090 Gronland, N-0133 Oslo, Norway My opinions are those of my company The Informix FAQ is at http://www.iiug.org