1 /*
2  *      This version is for FreeBSD 2.1
3  *      Done by "Andrey A. Chernov" <ache@astral.msk.su>
4  */
5 
6 
7 /*
8  *	Include header files containing the following definitions:
9  *
10  * 		off_t, time_t, struct stat
11  */
12 
13 #include <sys/types.h>
14 #include <sys/stat.h>   /* for S_IFREG */
15 #include <fcntl.h>      /* for O_RDONLY */
16 
17 #define HAVE_TERMIOS_H
18 
19 /*
20  *	Define if your system has system V like ioctls
21  */
22 
23 #undef	HAVE_TERMIO_H			/* */
24 
25 /*
26  *	Define to use terminfo database.
27  *	Otherwise, termcap is used
28  */
29 
30 #undef	USE_TERMINFO			/* */
31 
32 /*
33  *	Specify the library (or libraries) containing the termcap/terminfo
34  *	routines.
35  *
36  *	Notice:  nn only uses the low-level terminal access routines
37  *	(i.e. it does not use curses).
38  */
39 
40 #define TERMLIB	-lncurses
41 
42 /*
43  *	Define HAVE_STRCHR if strchr() and strrchr() are available
44  */
45 
46 #define HAVE_STRCHR			/* */
47 
48 /*
49  *	Define if a signal handler has type void (see signal.h)
50  */
51 
52 #define	SIGNAL_HANDLERS_ARE_VOID	/* */
53 
54 /*
55  *	Define HAVE_UALARM if your system has a 4.3 BSD like ualarm() call.
56  *	Else define MICRO_ALARM(n) to timeout in n/10 seconds if possible.
57  *	Don't define either if system only has the standard alarm() call.
58  */
59 
60 #define HAVE_UALARM			/* */
61 
62 
63 /*
64  *	Define if your system has BSD like job control (SIGTSTP works)
65  */
66 
67 #define HAVE_JOBCONTROL			/* */
68 
69 
70 /*
71  *	Define if your system has a 4.3BSD like syslog library.
72  */
73 
74 #define HAVE_SYSLOG
75 
76 /*
77  *	Define if your system provides the "directory(3X)" access routines
78  *
79  *	If true, include the header file(s) required by the package below
80  *	(remember that <sys/types.h> or equivalent is included above)
81  *	Also typedef Direntry to the proper struct type.
82  */
83 
84 #define	HAVE_DIRECTORY			/* */
85 
86 #include <dirent.h>			/* POSIX */
87 
88 typedef struct dirent Direntry;		/* POSIX */
89 
90 /*
91  *	Define if your system has a mkdir() library routine
92  */
93 
94 #define	HAVE_MKDIR			/* */
95 
96 /*
97  *	Pick one:
98  *	Define HAVE_GETHOSTNAME if you have a BSD like gethostname routine.
99  *	Define HAVE_UNAME if a system V compatible uname() is available.
100  *	Define HOSTNAME_FILE "...." to a file containing the hostname.
101  *	Define HOSTNAME_WHOAMI if sysname is defined in <whoami.h>.
102  *
103  *	As a final resort, define HOSTNAME to the name of your system
104  *	(in config.h).
105  */
106 
107 #define HAVE_GETHOSTNAME			/* BSD systems */
108 
109 /*
110  *	Define HAVE_MULTIGROUP if system has simultaneous multiple group
111  *	membership capability (BSD style).
112  *	Also define NGROUPS or include the proper .h file if NGROUPS is
113  *	not defined in <sys/param.h>.
114  */
115 
116 #define HAVE_MULTIGROUP	/* BSD */
117 
118 /*
119  *	Define DETACH_TERMINAL to be a command sequence which
120  *	will detatch a process from the control terminal
121  *	Also include system files needed to perform this HERE.
122  *	If not possible, just define it (empty)
123  */
124 
125 #define DETACH_TERMINAL setsid();
126 
127 /*
128  *	Specify where the Bourne Shell is.
129  */
130 
131 #define SHELL		"/bin/sh"
132 
133 /*
134  *	Specify the default mailer
135  */
136 
137 #define	MAILX	"/usr/bin/mail"		/* */
138 
139 /*
140  *	Define the maximum length of any pathname that may occur
141  */
142 
143 #define	FILENAME 	256
144 
145 #define RESIZING
146 
147 #define HAVE_8BIT_CTYPE
148 
149