1996-01-28 00:41:22 +00:00
|
|
|
/*
|
|
|
|
* Copyright 1995 by Devin Reade <gdr@myrias.com>. For distribution
|
|
|
|
* information see the README file that is part of the manpack archive,
|
|
|
|
* or contact the author, above.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define VERSIONSTRING "1.2"
|
|
|
|
#define ISGRAPH_FIX 1
|
1996-01-28 00:31:34 +00:00
|
|
|
|
|
|
|
/* The size of the IO buffers */
|
1996-01-28 00:41:22 +00:00
|
|
|
#define BUFFERSIZE 1024
|
1996-01-28 00:31:34 +00:00
|
|
|
|
|
|
|
/* The default name for the whatis database */
|
1996-01-28 00:41:22 +00:00
|
|
|
#define WHATIS "whatis"
|
1996-01-28 00:31:34 +00:00
|
|
|
|
|
|
|
/* The number of characters per tab in the whatis database */
|
1996-01-28 00:41:22 +00:00
|
|
|
#define TABLENGTH 8
|
|
|
|
|
|
|
|
#define DEFAULT_MANPATH "/usr/man"
|
1996-01-28 00:31:34 +00:00
|
|
|
|
1996-01-28 00:41:22 +00:00
|
|
|
extern int chdir (const char *);
|
|
|
|
extern int system (const char *);
|
1996-01-28 00:31:34 +00:00
|
|
|
|
1996-01-28 00:41:22 +00:00
|
|
|
void fillbuffer (char *filename);
|
|
|
|
void process (char *filename, char *tmp_file, FILE *whatis_fp, char *sec);
|
1996-01-28 00:31:34 +00:00
|
|
|
|
|
|
|
extern short v_flag;
|