Xref: utzoo comp.os.vms:38271 comp.sys.dec:5606 comp.unix.ultrix:6978 Newsgroups: comp.os.vms,comp.sys.dec,comp.unix.ultrix Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!wuarchive!gumby!peirce From: peirce@gumby.cc.wmich.edu (Leonard Peirce) Subject: Re: Cursor key input in curses ? Message-ID: <1991Apr24.140134.26133@gumby.cc.wmich.edu> Organization: Western Michigan University Academic Computing Services References: <1991Apr20.160134.1514@urz.unibas.ch> Date: Wed, 24 Apr 1991 14:01:34 GMT 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., [ 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"