Re: 4GL Function Keys
Posted in 1993
} } I am running SCO UNIX V with INFORMIX 4GL 4.10. I am unable to get } 4GL to recognize the F6 and F7 keys on my console correctly. I am also } unable to remap ACCEPT to a function key. } } I have proven to my own satisfaction that 4GL is looking at the correct } termcap entry for the function key - it just isn't recognizing the } function key in the following statement: } } (in a menu) } COMMAND KEY(F7) } CLEAR SCREEN } EXIT MENU } } My environment says that my terminal is ansi; INFORMIXTERM is set to termcap; } the termcap entry says F6 is ^[[R and F7 is ^[[S. My keyboard produces these } strings correctly. (If I change the termcap entry, the program behaves as if } it is receiving ^[[S when I hit F7.) It's just that hitting F7 doesn't trigger } the clear screen and menu exit. Unfortunately, hitting F6 does! Any ideas? } } Hint, f0 in termcap=F1 in informix. (or vice versa) cheers j. _____________________________________________________________________________ Jack Parker - Contractor | Hewlett Packard, BSMC Boise, Idaho, USA| CALL disclaimer( author, mail, jparker@hpbs2561.boi.hp.com | opinions, trash) (208) 396-5388 (W) (208) 384-1623 (H) | RETURNING flames "> /dev/null" _____________________________________________________________________________ Any opinions expressed herein are my own and not those of my employers. _____________________________________________________________________________