xref: /netbsd-src/external/bsd/less/dist/pckeys.h (revision a5847cc334d9a7029f6352b847e9e8d71a0f9e0c)
1 /*	$NetBSD: pckeys.h,v 1.2 2011/07/03 19:51:26 tron Exp $	*/
2 
3 /*
4  * Copyright (C) 1984-2011  Mark Nudelman
5  *
6  * You may distribute under the terms of either the GNU General Public
7  * License or the Less License, as specified in the README file.
8  *
9  * For more information about less, or for information on how to
10  * contact the author, see the README file.
11  */
12 
13 
14 /*
15  * Definitions of keys on the PC.
16  * Special (non-ASCII) keys on the PC send a two-byte sequence,
17  * where the first byte is 0 and the second is as defined below.
18  */
19 #define	PCK_SHIFT_TAB		'\017'
20 #define	PCK_ALT_E		'\022'
21 #define	PCK_CAPS_LOCK		'\072'
22 #define	PCK_F1			'\073'
23 #define	PCK_NUM_LOCK		'\105'
24 #define	PCK_HOME		'\107'
25 #define	PCK_UP			'\110'
26 #define	PCK_PAGEUP		'\111'
27 #define	PCK_LEFT		'\113'
28 #define	PCK_RIGHT		'\115'
29 #define	PCK_END			'\117'
30 #define	PCK_DOWN		'\120'
31 #define	PCK_PAGEDOWN		'\121'
32 #define	PCK_INSERT		'\122'
33 #define	PCK_DELETE		'\123'
34 #define	PCK_CTL_LEFT		'\163'
35 #define	PCK_CTL_RIGHT		'\164'
36 #define	PCK_CTL_DELETE		'\223'
37