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