Re: HOME and END Keys
Posted in 1996
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
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.) Map these key sequences to valid function keys in your termcap file. Informix should then ignore the function key until you use ON KEY whatever. Hope that helps, -- Mark. +-------------------------------------------------------------------------+ |Mark D. Stock - The West Solutions Group http://www.west.co.za | | The Informix FAQ is at http://www.iiug.org | |mailto:marks@west.co.za +------------------------------------------------+ |Tel: +27 11 803 2151 |If it doesn't work... force it! | |Fax: +27 11 803 2189 |If it breaks... it needed replacing anyway! | |Cell: +27 83 250 2325 |Well, that's how I code anyway! | +------------------------+------------------------------------------------+