Keypad mode
There are the numeric keypad mode and the application keypad mode at VT100 numeric keypad. The remote host can configure these keypad mode with sending the control sequence. These modes have in the following differences:
- Numeric keypad mode
-
In normal mode, the keypad behaves like a normal Windows keypad:
with NumLock on or off, the number keys generate numbers.
This is the default mode.
- Application keypad mode
-
In application mode, all the keypad keys send special control sequences, _including_ Num Lock. Num Lock stops behaving like Num Lock and becomes another function key. For example, if a user pushes 1 key, Tera Term will send <ESC>Oq sequence.
A user can use this mode to distinguish between full key numeric key and numeric keypad. Basically, an application will change to application keypad mode.
Cursor key mode
There are normal cursor mode and application cursor mode in VT100 cursor key definition. The remote application can change this cursor mode by sending the control sequence.
- Normal cursor mode
-
In this mode, the arrow keys send the same key sequences. For example, UP ARROW sends <ESC>[A sequence.
- Application cursor mode
-
In this mode, the arrow keys do not send the same key sequences. For example, UP ARROW sends <ESC>OA sequence.
Also, Tera Term would send UP ARROW or DOWN ARROW key sequence instead of scrolling through the window by rotating the mouse wheel. Refer to
Mouse wheel action in application cursor mode.
Disabling application keypad/cursor mode
Perhaps a user does not want to use the application keypad and cursor mode function.
For example, the vi editor switches to the application keypad mode during initial start.
So, the numeric keys can be assigned to the special feature instead of not inputting a
number with the numeric keys.
If a user does not want to use the application keypad/cursor mode, disable this mode on keyboard configuration dialog. So, a user can use the numeric keypad as numbering on vi editor. However, some problem may be occurred on this mode.
Here is Another method to disable the application keypad mode.