How do you read the arrow keys?

Karl-P. Huestegge karl at robot.in-berlin.de
Thu Jan 3 02:49:42 AEST 1991


In <1990Dec30.020124.4083 at telesys.cts.com> kreed at telesys.cts.com (Kevin W. Reed) writes:

>john at jwt.UUCP (John Temples) writes:
>>I've used this in curses programs I've written which accept both
>>cursor keys and the escape key as input, and it works fine.  I guess
>>it's only available in certain versions of curses?

>It is not available on SCO Xenix when using termcap curses.  It is 
>supposed to be available via terminfo curses.

>Has anyone ever come up with a way to access function keys and arrow
>keys using SCO curses termcap?

No problem here with SCO 386GT 2.3.3.
It's defined in /etc/termcap (kd,ku,kl,kr) and in /usr/include/tcap.h.

-- 
Karl-Peter Huestegge                       karl at robot.in-berlin.de
Berlin Friedenau                           ..unido!fub!geminix!robot!karl



More information about the Comp.unix.programmer mailing list