Parent Directory
|
Revision Log
|
Patch
| Revision 1.2 by sysadm, Sat Oct 23 08:22:25 2004 UTC | Revision 1.7 by sysadm, Mon Mar 21 17:08:21 2005 UTC | |
|---|---|---|
| # | Line 22 | Line 22 |
| 22 | #define LF '\n' | #define LF '\n' |
| 23 | #define BACKSPACE '\b' | #define BACKSPACE '\b' |
| 24 | #define BELL '\b' | #define BELL '\b' |
| 25 | #define KEY_UP 0x101 | #define KEY_SPACE '\040' |
| 26 | #define KEY_DOWN 0x102 | |
| 27 | #define KEY_LEFT 0x103 | #ifndef EXTEND_KEY |
| 28 | #define KEY_RIGHT 0x104 | #define EXTEND_KEY |
| 29 | #define KEY_NULL 0xffff | |
| 30 | #define KEY_CONTROL 0xff | |
| 31 | #define KEY_TAB 9 | |
| 32 | #define KEY_ESC 27 | |
| 33 | #define KEY_UP 0x0101 | |
| 34 | #define KEY_DOWN 0x0102 | |
| 35 | #define KEY_RIGHT 0x0103 | |
| 36 | #define KEY_LEFT 0x0104 | |
| 37 | #define KEY_HOME 0x0201 | |
| 38 | #define KEY_INS 0x0202 | |
| 39 | #define KEY_DEL 0x0203 | |
| 40 | #define KEY_END 0x0204 | |
| 41 | #define KEY_PGUP 0x0205 | |
| 42 | #define KEY_PGDN 0x0206 | |
| 43 | #define KEY_F1 0x0207 | |
| 44 | #define KEY_F2 0x0208 | |
| 45 | #define KEY_F3 0x0209 | |
| 46 | #define KEY_F4 0x020a | |
| 47 | #define KEY_F5 0x020b | |
| 48 | #define KEY_F6 0x020c | |
| 49 | #define KEY_F7 0x020d | |
| 50 | #define KEY_F8 0x020e | |
| 51 | #define KEY_F9 0x020f | |
| 52 | #define KEY_F10 0x0210 | |
| 53 | #endif | |
| 54 | ||
| 55 | #define Ctrl(C) ((C) - 'A' + 1) | |
| 56 | ||
| 57 | extern int screen_lines; | extern int screen_lines; |
|
||||||||
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |