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
|
typedef struct optionname_t {
char *name;
int key;
int canonical;
} optionname;
typedef struct unixoption_t {
char *name;
char *val;
} unixoption;
#define OPT_HELP (-1)
#define OPT_BINDINGS 0
#define OPT_GEOMETRY 1
#define OPT_STATGEOMETRY 2
#define OPT_INPUTSTYLE 3
#define OPT_MARGINX 4
#define OPT_MARGINY 5
#define OPT_LEADING 6
#define OPT_JUSTIFY 7
#define OPT_AUTORESIZE 8
#define OPT_RESIZEUPWARD 15
#define OPT_AUTOCLEAR 9
#define OPT_HISTORY 10
#define OPT_BUFFER 11
#define OPT_BACKGROUND 12
#define OPT_FOREGROUND 13
#define OPT_GREYCOLOR 14
#define OPT_STRICTZ 16
#define OPT_SPEC 17
#define NUM_SIMPLE_OPTIONS 18
#define OPT_STYLECOLOR (NUM_SIMPLE_OPTIONS)
#define OPT_STYLEFONT (NUM_SIMPLE_OPTIONS+NUMFONTS)
#define NUMOPTIONS (NUM_SIMPLE_OPTIONS+2*NUMFONTS)
extern unixoption unixoptionlist[NUMOPTIONS];
|