
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];

