xref: /freebsd/contrib/less/pckeys.h (revision c98323078dede7579020518ec84cdcb478e5c142)
1 /*
2  * Copyright (C) 1984-2002  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 about less, or for information on how to
8  * contact the author, see the README file.
9  */
10 
11 
12 /*
13  * Definitions of keys on the PC.
14  * Special (non-ASCII) keys on the PC send a two-byte sequence,
15  * where the first byte is 0 and the second is as defined below.
16  */
17 #define	PCK_SHIFT_TAB		'\017'
18 #define	PCK_ALT_E		'\022'
19 #define	PCK_CAPS_LOCK		'\072'
20 #define	PCK_F1			'\073'
21 #define	PCK_NUM_LOCK		'\105'
22 #define	PCK_HOME		'\107'
23 #define	PCK_UP			'\110'
24 #define	PCK_PAGEUP		'\111'
25 #define	PCK_LEFT		'\113'
26 #define	PCK_RIGHT		'\115'
27 #define	PCK_END			'\117'
28 #define	PCK_DOWN		'\120'
29 #define	PCK_PAGEDOWN		'\121'
30 #define	PCK_INSERT		'\122'
31 #define	PCK_DELETE		'\123'
32 #define	PCK_CTL_LEFT		'\163'
33 #define	PCK_CTL_RIGHT		'\164'
34 #define	PCK_CTL_DELETE		'\223'
35