Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!unido!fauern!opal!fub!geminix.in-berlin.de!robot!karl From: karl@robot.in-berlin.de (Karl-P. Huestegge) Newsgroups: comp.unix.programmer Subject: Re: How do you read the arrow keys? Message-ID: <1991Jan2.154942.1011@robot.in-berlin.de> Date: 2 Jan 91 15:49:42 GMT References: <3080@dali> <1990Dec28.195518.26577@ivy.uucp> <1990Dec29.170547.3153@jwt.UUCP> <1990Dec30.020124.4083@telesys.cts.com> Organization: K.-P. Huestegge, Sytemanalyse und Beratung, Berlin Lines: 19 In <1990Dec30.020124.4083@telesys.cts.com> kreed@telesys.cts.com (Kevin W. Reed) writes: >john@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@robot.in-berlin.de Berlin Friedenau ..unido!fub!geminix!robot!karl