1 
2 typedef struct optionname_t {
3     char *name;
4     int key;
5     int canonical;
6 } optionname;
7 
8 typedef struct unixoption_t {
9     char *name;
10     char *val;
11 } unixoption;
12 
13 #define OPT_HELP (-1)
14 
15 #define OPT_BINDINGS 0
16 #define OPT_GEOMETRY 1
17 #define OPT_STATGEOMETRY 2
18 #define OPT_INPUTSTYLE 3
19 #define OPT_MARGINX 4
20 #define OPT_MARGINY 5
21 #define OPT_LEADING 6
22 #define OPT_JUSTIFY 7
23 #define OPT_AUTORESIZE 8
24 #define OPT_RESIZEUPWARD 15
25 #define OPT_AUTOCLEAR 9
26 #define OPT_HISTORY 10
27 #define OPT_BUFFER 11
28 #define OPT_BACKGROUND 12
29 #define OPT_FOREGROUND 13
30 #define OPT_GREYCOLOR 14
31 #define OPT_STRICTZ 16
32 #define OPT_SPEC 17
33 #define NUM_SIMPLE_OPTIONS 18
34 
35 #define OPT_STYLECOLOR (NUM_SIMPLE_OPTIONS)
36 #define OPT_STYLEFONT (NUM_SIMPLE_OPTIONS+NUMFONTS)
37 
38 #define NUMOPTIONS (NUM_SIMPLE_OPTIONS+2*NUMFONTS)
39 
40 extern unixoption unixoptionlist[NUMOPTIONS];
41 
42