]>
code.delx.au - gnu-emacs/blob - src/s/sco4.h
1 /* System description file for SCO 3.2v4.
2 Copyright (C) 1993 Free Software Foundation, Inc.
4 This file is part of GNU Emacs.
6 GNU Emacs is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
11 GNU Emacs is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU Emacs; see the file COPYING. If not, write to
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
20 /* Contributed by Ian Lance Taylor, ian@cygnus.com. */
22 /* SCO is sort of like SVR3. */
25 #if 0 /* Turned off rather than make the Lisp code check for this. -- rms.
26 I am assuming that (at least most of) the tests for usg-unix-v
27 do the right thing for sco3.2v4 also. Things that *might* be wrong
28 as a result of turning off these lines include the values of
29 ange-ftp-remote-shell-file-name (now remsh)
30 dired-chown-program (now just chown)
32 nntp-buggy-select (now t)
33 rmail-spool-directory (now /usr/mail?)
34 and the actions of the function print-region-1. */
36 /* SYSTEM_TYPE should indicate the kind of system you are using. */
38 #define SYSTEM_TYPE "SCO 3.2v4"
41 /* SCO supports job control. */
44 /* SCO has termios. */
47 /* SCO has timeval. */
50 /* SCO has ptys with unusual names. */
53 #define PTY_ITERATION \
55 #define PTY_NAME_SPRINTF \
56 sprintf (pty_name, "/dev/ptyp%d", i);
57 #define PTY_TTY_NAME_SPRINTF \
58 sprintf (pty_name, "/dev/ttyp%d", i);
60 /* SCO perhaps has bcopy, et. al. */
65 /* Sockets are an option on SCO. If you have X, you have them.
66 They also exist if you have TCP, but we don't know how to test
72 #ifdef HAVE_INET_SOCKETS /* This comes from autoconf. */
77 #define LIBS_SYSTEM -lsocket
79 /* SCO has gettimeofday in socket library */
80 #define HAVE_GETTIMEOFDAY
83 /* We don't have -loldX, and we don't need it. */
86 /* SCO does have TIOCGWINSZ. */
87 #undef BROKEN_TIOCGWINSZ
90 /* We need to link with crt1.o and crtn.o. */
91 #define START_FILES pre-crt0.o /lib/crt1.o
92 #define LIB_STANDARD -lc /lib/crtn.o
94 /* Send signals to subprocesses by "typing" signal chars at them. */
95 #define SIGNALS_VIA_CHARACTERS
97 /* Specify program for etc/fakemail to run. Define SMAIL if you are
98 using smail, don't for MMDF. */
101 #define MAIL_PROGRAM_NAME "/bin/smail -q0"
103 #define MAIL_PROGRAM_NAME "/usr/lib/mail/execmail"