![]() In other programs, including the shell, the keypad remains in Number mode. The mode switch is not universal, but on a program to program base: it's only active in the program that requested it. (It can do this by sending a specific control sequence to the terminal.) Vi and Vim are known to do this. In accordance with the VT100 terminal standard, a program (host) may 'ask' the terminal to switch the keypad to application mode. So, in this mode, the keypad keys are practically used as additional function keys. ![]() These are control sequences that the program (host) may interpret as commands for some features. E.g., the '1' key sends [Oq, the '2' key sends [Or, of which only the letters q and r are visible on the screen. The latter has the keypad keys send not numbers, but escape sequences. As far as I understand, there are two possible modes for number keypads of VT100 terminals: the normal Numeric keypad mode and the Application keypad mode.
0 Comments
Leave a Reply. |