From: doelz@urz.unibas.ch
Subject: Cursor key input in curses ?
Date: 20 Apr 91 15:01:34 GMT [thread overview]
Message-ID: <1991Apr20.160134.1514@urz.unibas.ch> (raw)
Problem:
How do you input cursor keys in curses ?
Background:
I want to show a menu on the screen which is similar to the one you get from
SMG$ on VAX/VMS. The curses package available in C gives the problem
that the cursor key is read either as terminator or as a sequence of three
characters (e.g., <ESC> [ A ) in vt100 emulation instead of a cursor key.
Please:
I would be grateful if someone in netland could explain me what goes wrong on
the vt100 emulation side or even get me a piece of code which reads in a cursor
key correctly.
Regards
Reinhard
+-----------------------------------------------------------------------------+
|Dr. Reinhard Doelz | X.400: S=doelz,OU=urz,O=unibas,P=switch,A=arcom,C=ch |
| Universitaets- | RFC : doelz@urz.unibas.ch |
| rechenzentrum | X.25 : psi%022846211142::embnet |
| Klingelbergstr.70 | Tel. : +41 61 267 2076 +----------------------------+
| CH 4056 Basel | Fax. : +41 61 261 6760 | S W I T Z E R L A N D
+------------------------------------------------+
next reply other threads:[~1991-04-20 15:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1991-04-20 15:01 doelz [this message]
1991-04-21 1:52 ` Cursor key input in curses ? Ken Wellsch
1991-04-23 0:42 ` M Darrin Chaney
1991-04-24 14:01 ` Leonard Peirce
1991-04-24 17:46 ` Van Cleef Henry H
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