Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!think!paperboy!meissner From: meissner@osf.org (Michael Meissner) Newsgroups: comp.unix.ultrix Subject: Re: Ultrix curses problem Message-ID: Date: 7 Mar 90 23:48:08 GMT References: <2009@mas1.UUCP> Sender: news@OSF.ORG Distribution: na Organization: Open Software Foundation Lines: 28 In-reply-to: condor@mas1.UUCP's message of 7 Mar 90 19:34:12 GMT In article <2009@mas1.UUCP> condor@mas1.UUCP (Rick Kawala) writes: | I have an application that we've been running under 4.x BSD | for about 6 years now. When we went to move it to Ultrix, we | found that curses.h didn't contain "extern" declarations for | the variables KL and KR (which normally are extern char *'s | that point to the sequences generated by the left and right | arrow keys on a particular terminal). | | Does anyone know why these variables aren't available? I tried | "externing" them myself, but they just weren't there. Is there | another way of getting this information? Do I have to hardwire | these codes in for every terminal type we use (fortunately, | we only have about 5, but it's still a disgusting solution)? | Any info would be appreciated. Just do tgetstr yourself on the following termcap entries (descriptions yanked from man termcap(5)): kd str Sent by terminal down arrow key kl str Sent by terminal left arrow key kr str Sent by terminal right arrow key ku str Sent by terminal up arrow key -- Michael Meissner email: meissner@osf.org phone: 617-621-8861 Open Software Foundation, 11 Cambridge Center, Cambridge, MA Catproof is an oxymoron, Childproof is nearly so