Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: doug@wiley.UUCP (Doug Rudoff)
Subject: Curses -- accessing keypad codes, Ultrix bugs
Date: 10 Nov 89 05:24:59 GMT	[thread overview]
Message-ID: <7500@wiley.UUCP> (raw)


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


                 reply	other threads:[~1989-11-10  5:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox