xref: /original-bsd/usr.bin/more/cmd.h (revision 2c26d2e3)
1 /*
2  * Copyright (c) 1988 Mark Nudleman
3  * Copyright (c) 1988 Regents of the University of California.
4  * All rights reserved.
5  *
6  * Redistribution and use in source and binary forms are permitted
7  * provided that the above copyright notice and this paragraph are
8  * duplicated in all such forms and that any documentation,
9  * advertising materials, and other materials related to such
10  * distribution and use acknowledge that the software was developed
11  * by Mark Nudleman and the University of California, Berkeley.  The
12  * name of Mark Nudleman or the
13  * University may not be used to endorse or promote products derived
14  * from this software without specific prior written permission.
15  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
16  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
17  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
18  *
19  *	@(#)cmd.h	5.3 (Berkeley) 09/23/88
20  */
21 
22 #define	MAX_USERCMD		200
23 #define	MAX_CMDLEN		16
24 
25 #define	A_AGAIN_SEARCH		1
26 #define	A_B_LINE		2
27 #define	A_B_SCREEN		3
28 #define	A_B_SCROLL		4
29 #define	A_B_SEARCH		5
30 #define	A_DIGIT			6
31 #define	A_DISP_OPTION		7
32 #define	A_DEBUG			8
33 #define	A_EXAMINE		9
34 #define	A_FIRSTCMD		10
35 #define	A_FREPAINT		11
36 #define	A_F_LINE		12
37 #define	A_F_SCREEN		13
38 #define	A_F_SCROLL		14
39 #define	A_F_SEARCH		15
40 #define	A_GOEND			16
41 #define	A_GOLINE		17
42 #define	A_GOMARK		18
43 #define	A_HELP			19
44 #define	A_NEXT_FILE		20
45 #define	A_PERCENT		21
46 #define	A_PREFIX		22
47 #define	A_PREV_FILE		23
48 #define	A_QUIT			24
49 #define	A_REPAINT		25
50 #define	A_SETMARK		26
51 #define	A_SHELL			27
52 #define	A_STAT			28
53 
54 #define	A_TOGGLE_OPTION		30
55 #define	A_VISUAL		32
56 
57 #define	A_INVALID		100
58 #define	A_NOACTION		101
59