-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkeyvals.h
56 lines (56 loc) · 2.47 KB
/
keyvals.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/* Included by: EDIT INIT_TERM INQUIRE */
#define KEY_CTRLC 3 /* control-c, just redisplay */
#define KEY_BACKSPACE 8 /* backspace (move to beginning of line, or previous if at beginning) */
#define KEY_DELPREVWORD 10 /* delete previous word */
#define KEY_DEFINEKEY 11 /* define key */
#define KEY_CARRIAGERETURN 13 /* carriage return */
#define KEY_DELTOBEGLINE 21 /* delete to beginning of line */
#define KEY_REFRESH 23 /* refresh screen */
#define KEY_DELTOBEGLINE2 24 /* delete to beginning of line */
#define KEY_CTRLY 25 /* control-y */
#define KEY_COMMAND 26 /* command */
#define KEY_DELETE 127 /* delete */
#define KEY_UPARROW -1 /* up arrow */
#define KEY_DOWNARROW -2 /* down arrow */
#define KEY_RIGHTARROW -3 /* right arrow */
#define KEY_LEFTARROW -4 /* left arrow */
#define KEY_MOVEBYLINE -5 /* move by line */
#define KEY_MOVEBYWORD -6 /* move by word */
#define KEY_MOVEBYEOL -7 /* move to end of line */
#define KEY_MOVEBYCHAR -8 /* move by character */
#define KEY_FORWARD -9 /* set forward */
#define KEY_BACKWARD -10 /* set backward */
#define KEY_KILL -11 /* kill */
#define KEY_MOVEBYPAGE -12 /* move by page */
#define KEY_MOVEBYSECTION -13 /* move by section */
#define KEY_APPEND -14 /* append */
#define KEY_DELWORD -15 /* delete word */
#define KEY_DELCHAR -16 /* delete character */
#define KEY_SELECT -17 /* select */
#define KEY_ENTER -18 /* enter */
#define KEY_GOLD -19 /* gold */
#define KEY_SETCOPY -20 /* set copy select */
#define KEY_FINDNEXT -21 /* find next */
#define KEY_DELLINE -22 /* delete line */
#define KEY_OPENLINE -23 /* open line */
#define KEY_CHANGECASE -24 /* change case */
#define KEY_DELTOEOL -25 /* delete to end of line */
#define KEY_SPECIALINSERT -26 /* special insert */
#define KEY_ENDOFFILE -27 /* bottom of file */
#define KEY_TOPOFFILE -28 /* top of file */
#define KEY_UNKILL -29 /* unkill */
#define KEY_COMMAND2 -30 /* command */
#define KEY_FILL -31 /* fill */
#define KEY_REPLACE -32 /* replace */
#define KEY_UNDELWORD -33 /* undelete word */
#define KEY_UNDELCHAR -34 /* undelete character */
#define KEY_UNSELECT -35 /* unselect */
#define KEY_SUBSTITUTE -36 /* substitute */
#define KEY_GOLDGOLD -37 /* gold-gold */
#define KEY_WINDOW -38 /* window */
#define KEY_FIND -39 /* find */
#define KEY_UNDELLINE -40 /* undelete line */
#define KEY_RETURN -41 /* gold up (return to spot) */
#define KEY_MARK -42 /* gold down (mark spot) */
#define KEY_SCROLLRIGHT -43 /* gold right (scroll right) */
#define KEY_SCROLLLEFT -44 /* gold left (scroll left) */