Remove check for struct timezone, its result is never used.
[emacs.git] / src / s / rtu.h
blob2a9df14a14c6d1dc290b2a1200de2994f9fa8309
1 /* Definitions file for GNU Emacs running on RTU 3.0, ucb universe.
2 Copyright (C) 1986, 1999, 2002, 2003, 2004,
3 2005, 2006 Free Software Foundation, Inc.
5 This file is part of GNU Emacs.
7 GNU Emacs is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
12 GNU Emacs is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GNU Emacs; see the file COPYING. If not, write to
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA. */
24 * Define symbols to identify the version of Unix this is.
25 * Define all the symbols that apply correctly.
28 #define BSD4_2
29 #define BSD_SYSTEM
30 #define RTU
32 /* SYSTEM_TYPE should indicate the kind of system you are using.
33 It sets the Lisp variable system-type. */
35 #define SYSTEM_TYPE "rtu"
37 /* NOMULTIPLEJOBS should be defined if your system's shell
38 does not have "job control" (the ability to stop a program,
39 run some other program, then continue the first one). */
41 #define NOMULTIPLEJOBS
43 /* Emacs can read input using SIGIO and buffering characters itself,
44 or using CBREAK mode and making C-g cause SIGINT.
45 The choice is controlled by the variable interrupt_input.
46 Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO)
48 SIGIO can be used only on systems that implement it (4.2 and 4.3).
49 CBREAK mode has two disadvantages
50 1) At least in 4.2, it is impossible to handle the Meta key properly.
51 I hear that in system V this problem does not exist.
52 2) Control-G causes output to be discarded.
53 I do not know whether this can be fixed in system V.
55 Another method of doing input is planned but not implemented.
56 It would have Emacs fork off a separate process
57 to read the input and send it to the true Emacs process
58 through a pipe.
61 #undef INTERRUPT_INPUT
63 /* Letter to use in finding device name of first pty,
64 if system supports pty's. 'a' means it is /dev/ptya0 */
66 #define FIRST_PTY_LETTER 'z' /* i.e. no PTY_LETTERs */
69 * Define HAVE_PTYS if the system supports pty devices.
72 #define HAVE_PTYS
74 /* Define this macro if system defines a type `union wait'. */
76 #define HAVE_UNION_WAIT
78 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
80 #define HAVE_SOCKETS
83 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
84 * The 4.2 opendir, etc., library functions.
87 #define NONSYSTEM_DIR_LIBRARY
89 /* Define this symbol if your system has the functions bcopy, etc. */
90 /* The system library bcopy() is broken in RTU. For one thing, it expects
91 the length to be less than 64k. */
92 #undef BSTRING
94 /* subprocesses should be defined if you want to
95 have code for asynchronous subprocesses
96 (as used in M-x compile and M-x shell).
97 This is generally OS dependent, and not supported
98 under most USG systems. */
100 #define subprocesses
102 /* If your system uses COFF (Common Object File Format) then define the
103 preprocessor symbol "COFF". */
105 #undef COFF
107 /* define MAIL_USE_FLOCK if the mailer uses flock
108 to interlock access to /usr/spool/mail/$USER.
109 The alternative is that a lock file named
110 /usr/spool/mail/$USER.lock. */
112 #undef MAIL_USE_FLOCK
114 /* Define CLASH_DETECTION if you want lock files to be written
115 so that Emacs can tell instantly when you try to modify
116 a file that someone else has modified in his Emacs. */
118 #undef CLASH_DETECTION
120 /* The symbol in the kernel where the load average is found
121 is named _avenrun. */
123 #define LDAV_SYMBOL "_avenrun"
125 /* Special hacks needed to make Emacs run on this system. */
127 /* The "fsync" call on RTU versions 3.0 and 3.1 is badly broken!
128 This hack below isn't the best solution, but without it this
129 program will cause the whole system to hang! !@#$#%$ Masscomp! */
131 #define fsync(x) 0 /* "Comment out" fsync calls */
133 /* RTU has IPC instead of Unix-domain sockets. */
135 #define HAVE_SYSVIPC
137 /* This is how to get the device name of the tty end of a pty. */
138 #define PTY_TTY_NAME_SPRINTF \
139 sprintf (pty_name, "/dev/ttyp%x", i);
141 /* This is how to get the device name of the control end of a pty. */
142 #define PTY_NAME_SPRINTF \
143 sprintf (pty_name, "/dev/pty%x", i);
145 /* Process groups work in the traditional BSD manner. */
147 #define BSD_PGRPS
149 /* arch-tag: 0908970b-1cc0-4d57-b866-61b9bd029a0d
150 (do not change this comment) */