-/* this array maps a character (ex: '4') to an offset in stanlist */
-#define secno(x) (seclist[(int)(x - '0')])
-static int seclist[] = { -1, 1, 4, 5, 6, 7, 3, 8, 2, -1, -1 };
-
-/* sub directory list, ordered for searching */
-typedef struct {
- char *name,
- *msg;
-} DIR;
-
-DIR stanlist[] = { /* standard sub-directory list */
- "notused", "", "cat1", "1st", "cat8", "8th",
- "cat6", "6th", "cat2", "2nd", "cat3", "3rd",
- "cat4", "4th", "cat5", "5th", "cat7", "7th",
- "cat3f", "3rd (F)", "cat.new", "new", "cat.old", "old",
- NULL, NULL,
-}, sec1list[] = { /* section one list */
- "notused", "", "cat1", "1st", "cat8", "8th",
- "cat6", "6th", "cat.new", "new", "cat.old", "old",
- NULL, NULL,
-};
-
-static DIR *dirlist; /* list of directories to search */
-static int nomore; /* copy file to stdout */
-static char *defpath, /* default search path */