pckeys.h revision 60786
11556Srgrimes/*
21556Srgrimes * Copyright (C) 1984-2000  Mark Nudelman
31556Srgrimes *
41556Srgrimes * You may distribute under the terms of either the GNU General Public
51556Srgrimes * License or the Less License, as specified in the README file.
61556Srgrimes *
71556Srgrimes * For more information about less, or for information on how to
81556Srgrimes * contact the author, see the README file.
91556Srgrimes */
101556Srgrimes
111556Srgrimes
121556Srgrimes/*
131556Srgrimes * Definitions of keys on the PC.
141556Srgrimes * Special (non-ASCII) keys on the PC send a two-byte sequence,
151556Srgrimes * where the first byte is 0 and the second is as defined below.
161556Srgrimes */
171556Srgrimes#define	PCK_SHIFT_TAB		'\017'
181556Srgrimes#define	PCK_ALT_E		'\022'
191556Srgrimes#define	PCK_CAPS_LOCK		'\072'
201556Srgrimes#define	PCK_F1			'\073'
211556Srgrimes#define	PCK_NUM_LOCK		'\105'
221556Srgrimes#define	PCK_HOME		'\107'
231556Srgrimes#define	PCK_UP			'\110'
241556Srgrimes#define	PCK_PAGEUP		'\111'
251556Srgrimes#define	PCK_LEFT		'\113'
261556Srgrimes#define	PCK_RIGHT		'\115'
271556Srgrimes#define	PCK_END			'\117'
281556Srgrimes#define	PCK_DOWN		'\120'
291556Srgrimes#define	PCK_PAGEDOWN		'\121'
301556Srgrimes#define	PCK_INSERT		'\122'
311556Srgrimes#define	PCK_DELETE		'\123'
3217987Speter#define	PCK_CTL_LEFT		'\163'
3350471Speter#define	PCK_CTL_RIGHT		'\164'
341556Srgrimes#define	PCK_CTL_DELETE		'\223'
351556Srgrimes