bug-ncurses
[Top][All Lists]
Advanced

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

Keypad modes


From: Russell Shaw
Subject: Keypad modes
Date: Sat, 17 Jul 2010 11:03:18 +1000
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109)

Hi,
In the Digital VT220 Programmer Pocket Guide, it shows
the "up" arrow key sends CSI A in "Normal" mode, and
SS3 A in "Application" mode.

Why are there two modes for these keys?

Is it nCurses that determines what mode the cursor keypad
is put into, or the application using nCurses?

The numeric keypad can be set into numeric mode or "application"
mode using DECPNM and DECPAM. Does nCurses do this, or the
application using nCurses?

If a terminal emulator had no escape sequence for setting
numeric and application modes, would that be ok given that
the keyboard already has a NumLock key?



reply via email to

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