Re: QUES: Function Key/terminfo problem
Posted in 1995
Robert Haxel (haxel@evolving.com) wrote: : I'm having some trouble with function keys using 4gl code. : The hardware platform is an IBM 7010 X term with a RS/6K hosts. In my 4gl code : I have an ON KEY ( F3 ) and when running the app. the F2 key activates the : ON KEY command. This occurs with all F# keys with F#-1 activating it. : Related environment varibales are: : TERM=aixterm : INFORMIXTERM=terminfo : I've tried to remap the function keys with tic, but it doesn't seem to do : anything. : Any suggestions?? Last time I looked, terminfo wasn't supported at all for AIX. This means anything in your INFORMIXTERM variable will be ignored, and consequently tic won't change anything. I suspect this is still the case. What is your TERMCAP variable set to? If it is unset, Informix will be reading $INFORMIXDIR/etc/termcap. I remember an "off-by-one" error in which most applications number their function keys F1-F12 as k1-kC but Informix wants k0-kB, I think. Anyway, editing the termcap might solve your problem. -Jeff