Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Cursor key input in curses ?
@ 1991-04-20 15:01 doelz
  1991-04-21  1:52 ` Ken Wellsch
  1991-04-24 14:01 ` Leonard Peirce
  0 siblings, 2 replies; 5+ messages in thread
From: doelz @ 1991-04-20 15:01 UTC (permalink / 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
+------------------------------------------------+     


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1991-04-24 17:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1991-04-20 15:01 Cursor key input in curses ? doelz
1991-04-21  1:52 ` 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

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