Re: 4GL Q: How to change ACCEPT KEY from ESC to ENTER ?
Posted in 1993
->From: manmetha@gauss.rutgers.edu (Rajesh Malhotra) ->Subject: 4GL Q: How to change ACCEPT KEY from ESC to ENTER ? ->Date: 16 Aug 93 17:20:01 GMT ->Reply-To: manmetha@gauss.rutgers.edu (Rajesh Malhotra) ->Organization: Rutgers Univ., New Brunswick, N.J. -> ->Fellow Informix'ers, -> -> The message line says it all. How do I change the accept key ->from ESC to ENTER in 4GL. The following -> -> OPTIONS ACCEPT KEY ENTER [1] -> ->is not liked ny the compiler. -> ->While we are on the subject of keys, the TAB key moves the cursor ->to the next field. How do I get the BACK-TAB key to work (Shift TAB), ->to take the cursor to the previous field? [2] -> ->Any and all help will be appreciated. -> ->Thanx, -> ->Raj. [1] I tried and tried, and could never find a way to do this. Buried deep in the 4GL manuals (sorry, I forget just where) is a statement about certain keys that cannot be used with ON KEY, etc. Among them are ^A and ^D, which Informix uses for editing control, and ^M (Enter). Since our users were adamant about wanting ESC to be used to back out of things, would you believe we used ^E for the ACCEPT key? [2] IN your termcap or terminfo, remap shift-TAB to up arrow. Regards, Alan ___________________________ ______________________| R. Alan Popiel |__________________________ \\ Internet: | Martin Marietta, Tech Ops | / \\ alan@den.mmc.com | P.O. Box 179, M/S 5422 | Std disclaimers apply. / )Voice: | Denver, CO 80201-0179 USA | ( / 303-977-9998 |___________________________| (But you knew that!) \\ /________________________) (____________________________\\