annotate src/s/sco4.h @ 4698:196fac1c1086

(rmail-convert-file): Narrow to exclude the Babyl header.
author Richard M. Stallman <rms@gnu.org>
date Sat, 11 Sep 1993 10:40:03 +0000
parents 42472fd44436
children 9b9d3d777a66
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2679
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1 /* System description file for SCO 3.2v4.
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
2 Copyright (C) 1993 Free Software Foundation, Inc.
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
3
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
4 This file is part of GNU Emacs.
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
5
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
6 GNU Emacs is free software; you can redistribute it and/or modify
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
7 it under the terms of the GNU General Public License as published by
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
8 the Free Software Foundation; either version 2, or (at your option)
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
9 any later version.
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
10
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
11 GNU Emacs is distributed in the hope that it will be useful,
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
14 GNU General Public License for more details.
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
15
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
17 along with GNU Emacs; see the file COPYING. If not, write to
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
19
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
20 /* Contributed by Ian Lance Taylor, ian@cygnus.com. */
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
21
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
22 /* SCO is sort of like SVR3. */
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
23 #include "usg5-3.h"
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
24
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
25 /* SYSTEM_TYPE should indicate the kind of system you are using. */
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
26 #undef SYSTEM_TYPE
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
27 #define SYSTEM_TYPE "SCO 3.2v4"
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
28
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
29 /* SCO supports job control. */
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
30 #undef NOMULTIPLEJOBS
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
31
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
32 /* SCO has termios. */
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
33 #define HAVE_TERMIOS
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
34
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
35 /* SCO has timeval. */
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
36 #define HAVE_TIMEVAL
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
37
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
38 /* SCO has ptys with unusual names. */
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
39 #define HAVE_PTYS
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
40
3236
328132ed483c (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Redefined.
Richard M. Stallman <rms@gnu.org>
parents: 2989
diff changeset
41 #define PTY_ITERATION \
328132ed483c (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Redefined.
Richard M. Stallman <rms@gnu.org>
parents: 2989
diff changeset
42 for (i = 0; ; i++)
2679
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
43 #define PTY_NAME_SPRINTF \
3236
328132ed483c (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Redefined.
Richard M. Stallman <rms@gnu.org>
parents: 2989
diff changeset
44 sprintf (pty_name, "/dev/ptyp%d", i);
2679
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
45 #define PTY_TTY_NAME_SPRINTF \
3236
328132ed483c (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Redefined.
Richard M. Stallman <rms@gnu.org>
parents: 2989
diff changeset
46 sprintf (pty_name, "/dev/ttyp%d", i);
2679
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
47
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
48 /* SCO has bcopy, et. al. */
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
49 #define BSTRING
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
50
3236
328132ed483c (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Redefined.
Richard M. Stallman <rms@gnu.org>
parents: 2989
diff changeset
51 /* Sockets are an option on SCO. If you have X, you have them.
328132ed483c (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Redefined.
Richard M. Stallman <rms@gnu.org>
parents: 2989
diff changeset
52 They also exist if you have TCP, but we don't know how to test
328132ed483c (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Redefined.
Richard M. Stallman <rms@gnu.org>
parents: 2989
diff changeset
53 for that. */
2679
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
54 #ifdef HAVE_X_WINDOWS
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
55 #define HAVE_SOCKETS
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
56 #endif
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
57
4253
42472fd44436 (HAVE_SOCKETS): Define, if HAVE_INET_SOCKETS
Richard M. Stallman <rms@gnu.org>
parents: 3236
diff changeset
58 #ifdef HAVE_INET_SOCKETS /* This comes from autoconf. */
42472fd44436 (HAVE_SOCKETS): Define, if HAVE_INET_SOCKETS
Richard M. Stallman <rms@gnu.org>
parents: 3236
diff changeset
59 #define HAVE_SOCKETS
42472fd44436 (HAVE_SOCKETS): Define, if HAVE_INET_SOCKETS
Richard M. Stallman <rms@gnu.org>
parents: 3236
diff changeset
60 #endif
42472fd44436 (HAVE_SOCKETS): Define, if HAVE_INET_SOCKETS
Richard M. Stallman <rms@gnu.org>
parents: 3236
diff changeset
61
2679
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
62 #ifdef HAVE_SOCKETS
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
63 #define LIBS_SYSTEM -lsocket
3236
328132ed483c (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Redefined.
Richard M. Stallman <rms@gnu.org>
parents: 2989
diff changeset
64
328132ed483c (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Redefined.
Richard M. Stallman <rms@gnu.org>
parents: 2989
diff changeset
65 /* SCO has gettimeofday in socket library */
328132ed483c (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Redefined.
Richard M. Stallman <rms@gnu.org>
parents: 2989
diff changeset
66 #define HAVE_GETTIMEOFDAY
2679
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
67 #endif
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
68
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
69 /* We don't have -loldX, and we don't need it. */
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
70 #define LIB_XMENU_LIB
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
71
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
72 /* SCO does have TIOCGWINSZ. */
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
73 #undef BROKEN_TIOCGWINSZ
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
74 #define NEED_PTEM_H
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
75
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
76 /* We need to link with crt1.o and crtn.o. */
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
77 #define START_FILES pre-crt0.o /lib/crt1.o
b18c93cb19dd Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
78 #define LIB_STANDARD -lc /lib/crtn.o
3236
328132ed483c (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Redefined.
Richard M. Stallman <rms@gnu.org>
parents: 2989
diff changeset
79
328132ed483c (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Redefined.
Richard M. Stallman <rms@gnu.org>
parents: 2989
diff changeset
80 /* Send signals to subprocesses by "typing" signal chars at them. */
328132ed483c (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Redefined.
Richard M. Stallman <rms@gnu.org>
parents: 2989
diff changeset
81 #define SIGNALS_VIA_CHARACTERS
328132ed483c (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Redefined.
Richard M. Stallman <rms@gnu.org>
parents: 2989
diff changeset
82
328132ed483c (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Redefined.
Richard M. Stallman <rms@gnu.org>
parents: 2989
diff changeset
83 /* Specify program for etc/fakemail to run. Define SMAIL if you are
328132ed483c (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Redefined.
Richard M. Stallman <rms@gnu.org>
parents: 2989
diff changeset
84 using smail, don't for MMDF. */
328132ed483c (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Redefined.
Richard M. Stallman <rms@gnu.org>
parents: 2989
diff changeset
85
328132ed483c (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Redefined.
Richard M. Stallman <rms@gnu.org>
parents: 2989
diff changeset
86 #ifdef SMAIL
328132ed483c (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Redefined.
Richard M. Stallman <rms@gnu.org>
parents: 2989
diff changeset
87 #define MAIL_PROGRAM_NAME "/bin/smail -q0"
328132ed483c (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Redefined.
Richard M. Stallman <rms@gnu.org>
parents: 2989
diff changeset
88 #else
328132ed483c (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Redefined.
Richard M. Stallman <rms@gnu.org>
parents: 2989
diff changeset
89 #define MAIL_PROGRAM_NAME "/usr/lib/mail/execmail"
328132ed483c (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Redefined.
Richard M. Stallman <rms@gnu.org>
parents: 2989
diff changeset
90 #endif