From: peirce@gumby.cc.wmich.edu (Leonard Peirce)
Subject: Re: Cursor key input in curses ?
Date: 24 Apr 91 14:01:34 GMT [thread overview]
Message-ID: <1991Apr24.140134.26133@gumby.cc.wmich.edu> (raw)
In-Reply-To: 1991Apr20.160134.1514@urz.unibas.ch
In article <1991Apr20.160134.1514@urz.unibas.ch> doelz@urz.unibas.ch writes:
>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.
This was fixed in 4.0 although not completely. I complained to DEC on
numerous occasions when I was running 3.x and they finally sent me a patch
but it only fixed the cursor keys. Keys like Prev Screen, Next Screen,
Find, etc., were still broken. I was hoping everything would be fixed in
4.x. Sigh.....
Sometime ago, someone posted here what the problem was. It was something
like a parameter being passed to a subroutine incorrectly. I looked for it
in what seems like an endless archive of stuff that I save but I couldn't
find it.
I would SPR this myself but I'm too busy trying to fix LAT printing. Maybe
sometime this week or early next week I'll have something to post about it.
Grrr.....
--
Leonard Peirce Internet: peirce@gumby.cc.wmich.edu
Western Michigan University peirce@gw.wmich.edu
Academic Computing Services UUCP: ...!uunet!sharkey!wmichgw!peirce
Kalamazoo, MI 49008 Phone: (616) 387-5469
"Answer that, it may be the phone." -- Anthony Wachs, "Tony In RH20 Land"
next prev parent reply other threads:[~1991-04-24 14:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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