1 /* 2 * Copyright (C) 1984-2026 Mark Nudelman 3 * 4 * You may distribute under the terms of either the GNU General Public 5 * License or the Less License, as specified in the README file. 6 * 7 * For more information, see the README file. 8 */ 9 10 11 /* 12 * Definitions of keys on the PC. 13 * Special (non-ASCII) keys on the PC send a two-byte sequence, 14 * where the first byte is 0 and the second is as defined below. 15 */ 16 #define PCK_SHIFT_TAB '\x0f' 17 #define PCK_ALT_E '\x12' 18 #define PCK_CAPS_LOCK '\x3a' 19 #define PCK_F1 '\x3b' 20 #define PCK_NUM_LOCK '\x45' 21 #define PCK_HOME '\x47' 22 #define PCK_UP '\x48' 23 #define PCK_PAGEUP '\x49' 24 #define PCK_LEFT '\x4b' 25 #define PCK_RIGHT '\x4d' 26 #define PCK_END '\x4f' 27 #define PCK_DOWN '\x50' 28 #define PCK_PAGEDOWN '\x51' 29 #define PCK_INSERT '\x52' 30 #define PCK_DELETE '\x53' 31 /* The following are nonstandard and internal to less. */ 32 #define PCK_SHIFT_END '\x61' 33 #define PCK_CTL_DELETE '\x62' 34 #define PCK_CTL_LEFT '\x63' 35 #define PCK_CTL_RIGHT '\x74' 36 #define PCK_CTL_HOME '\x7a' 37 #define PCK_CTL_END '\x7c' 38 #define PCK_SHIFT_HOME '\x7d' 39 #define PCK_SHIFT_LEFT '\x73' 40 #define PCK_SHIFT_RIGHT '\x7f' 41