Xref: utzoo comp.lang.c:23657 comp.sys.dec:2079 comp.unix.ultrix:2127 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!wiley!doug From: doug@wiley.UUCP (Doug Rudoff) Newsgroups: comp.lang.c,comp.sys.dec,comp.unix.ultrix Subject: Curses -- accessing keypad codes, Ultrix bugs Keywords: curses, keypad, ultrix Message-ID: <7500@wiley.UUCP> Date: 10 Nov 89 05:24:59 GMT Reply-To: doug@wiley.UUCP (Doug Rudoff) Followup-To: comp.lang.c Organization: TRW Inc., Redondo Beach, CA Lines: 29 I'm using curses on a DECstation 3100. The keypad() function does not work; it doesn't cause function keys to be tokenized at all. (Has anyone else found that problem? DEC says it has no plans to fix it.) (BTW the curses I'm using is cursesX for the POSIX standard, pretty much the same as Systerm V curses). So, I wrote my own routine to tokenize function keys. But, how do I access the function key codes which are stored internally in the terminal information structure? In term.h is struct term which is the structure that stores the key codes. What structure includes struct term? I assume it's the SCREEN structure, but that structure is forward referenced, so I can't get to it. In addition, struct term only has room defined for 10 function keys, yet the curses definition allows 64 function keys. Needless to say, I'm confused. Any hints would be greatly appreciated. Thanks. Send e-mail to: uunet!nwnexus!mdisea!rudoff (nwnexus must be in the path) or if that fails: {uunet,cit-vax}!wiley!doug Doug Rudoff