3 enum { FALSE
= 0, TRUE
= 1, EXIT
= 2 };
4 enum { NEXT
= 0, PREV
= 1, BOTH
= 2 };
8 #define LENGTH(x) (sizeof(x) / sizeof(*x))
9 #define CONTROL(char) (char ^ 0x40)
10 #define MIN(X, Y) (((X) < (Y)) ? (X) : (Y))
11 #define MAX(X, Y) (((X) > (Y)) ? (X) : (Y))
15 void die(const char *);
16 struct termios
set_terminal(int);
17 char * expand_tabs(char *);