xref: /freebsd/contrib/less/pckeys.h (revision d65c432aa693043a241e9061d040c4d2b3e86d96)
1 /*
2  * Copyright (C) 1984-2019  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		'\017'
17 #define	PCK_ALT_E		'\022'
18 #define	PCK_CAPS_LOCK		'\072'
19 #define	PCK_F1			'\073'
20 #define	PCK_NUM_LOCK		'\105'
21 #define	PCK_HOME		'\107'
22 #define	PCK_UP			'\110'
23 #define	PCK_PAGEUP		'\111'
24 #define	PCK_LEFT		'\113'
25 #define	PCK_RIGHT		'\115'
26 #define	PCK_END			'\117'
27 #define	PCK_DOWN		'\120'
28 #define	PCK_PAGEDOWN		'\121'
29 #define	PCK_INSERT		'\122'
30 #define	PCK_DELETE		'\123'
31 #define	PCK_CTL_LEFT		'\163'
32 #define	PCK_CTL_RIGHT		'\164'
33 #define	PCK_CTL_DELETE		'\223'
34