bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

shift-up, shift-down (KEY_SUP KEY_SDOWN ?)


From: Don Mahurin
Subject: shift-up, shift-down (KEY_SUP KEY_SDOWN ?)
Date: Sun, 13 Aug 2006 07:41:29 -0700
User-agent: Thunderbird 1.5.0.5 (X11/20060808)

Hi,

I wrote the NCurses front end to the fte editor. See nfte.sourceforge.net.

In updating that for Ncurses 5.5, ( as shipped with Fedora Core 5 ),
I noticed that Shift-Up returns 01007 to getch and Shift-Down returns 01000.
These are both undefined in the header and greater than KEY_MAX.

Is this expected, known behavior? konsole and xterm settings are set up to send "^[[1;2A" and "^[[1;2B" for these.

My hack defines KEY_SUP and KEY_SDOWN 01007 and 01000, but this is probably the wrong solution.

-Don





reply via email to

[Prev in Thread] Current Thread [Next in Thread]