File: config.h

package info (click to toggle)
gettyps 2.0.7j-9
  • links: PTS
  • area: non-free
  • in suites: potato, woody
  • size: 364 kB
  • ctags: 285
  • sloc: ansic: 2,644; makefile: 75; sh: 3
file content (53 lines) | stat: -rw-r--r-- 1,413 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
**	config.h
**
**	Getty configuration.
*/

/*
**	Copyright 1989,1990 by Paul Sutcliffe Jr.
**
**	Permission is hereby granted to copy, reproduce, redistribute,
**	or otherwise use this software as long as: there is no monetary
**	profit gained specifically from the use or reproduction or this
**	software, it is not sold, rented, traded or otherwise marketed,
**	and this copyright notice is included prominently in any copy
**	made.
**
**	The author make no claims as to the fitness or correctness of
**	this software for any use whatsoever, and it is provided as is. 
**	Any use of this software is at the user's own risk.
*/


#include <paths.h>
#include "tune.h"			/* defs needed below */

#define	GETTYTAB  "/etc/gettydefs"	/* file used for speed/termio table */

#define	index	  strchr		/* use these instead */
#define	rindex	  strrchr

#ifndef	UTMP_FILE
#define	UTMP_FILE "/etc/utmp"		/* name of the utmp file */
#endif	/* UTMP_FILE */

#ifndef	WTMP_FILE
#define	WTMP_FILE "/var/adm/wtmp"	/* FSSTND compliant wtmp file */
#endif	/* WTMP_FILE */

#if 0
#define TTYTYPE "/etc/ttytype"		/* name of the ttytype file */
					/* use this option at your own risk */
#else
#undef TTYTYPE
#endif

#define	ASCIIPID			/* PID stored in ASCII */
#define	BOTHPID				/* ... or perhaps not */
#define	UUCPID 10			/* uid of UUCP account */
#define	LOCK "/var/lock/LCK..%s"	/* lock file name */



/* end of config.h */