pckeys.h revision 221715
1279377Simp/* 2279377Simp * Copyright (C) 1984-2011 Mark Nudelman 3279377Simp * 4279377Simp * You may distribute under the terms of either the GNU General Public 5279377Simp * License or the Less License, as specified in the README file. 6279377Simp * 7279377Simp * For more information about less, or for information on how to 8279377Simp * contact the author, see the README file. 9279377Simp */ 10279377Simp 11279377Simp 12279377Simp/* 13279377Simp * Definitions of keys on the PC. 14279377Simp * Special (non-ASCII) keys on the PC send a two-byte sequence, 15279377Simp * where the first byte is 0 and the second is as defined below. 16279377Simp */ 17279377Simp#define PCK_SHIFT_TAB '\017' 18279377Simp#define PCK_ALT_E '\022' 19279377Simp#define PCK_CAPS_LOCK '\072' 20279377Simp#define PCK_F1 '\073' 21279377Simp#define PCK_NUM_LOCK '\105' 22279377Simp#define PCK_HOME '\107' 23279377Simp#define PCK_UP '\110' 24279377Simp#define PCK_PAGEUP '\111' 25279377Simp#define PCK_LEFT '\113' 26279377Simp#define PCK_RIGHT '\115' 27279377Simp#define PCK_END '\117' 28279377Simp#define PCK_DOWN '\120' 29279377Simp#define PCK_PAGEDOWN '\121' 30279377Simp#define PCK_INSERT '\122' 31279377Simp#define PCK_DELETE '\123' 32279377Simp#define PCK_CTL_LEFT '\163' 33279377Simp#define PCK_CTL_RIGHT '\164' 34279377Simp#define PCK_CTL_DELETE '\223' 35279377Simp