annotate src/s/sco4.h @ 163:0132846995bd r20-3b8

Import from CVS: tag r20-3b8
author cvs
date Mon, 13 Aug 2007 09:43:35 +0200
parents 376386a54a3c
children 2d532a89d707
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 /* System description file for SCO 3.2v4.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 Copyright (C) 1993, 1994 Free Software Foundation, Inc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 This file is part of GNU Emacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 GNU Emacs is free software; you can redistribute it and/or modify
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 it under the terms of the GNU General Public License as published by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 the Free Software Foundation; either version 2, or (at your option)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 any later version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 GNU Emacs is distributed in the hope that it will be useful,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 GNU General Public License for more details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 along with XEmacs; see the file COPYING. If not, write to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 Boston, MA 02111-1307, USA. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 /* Synched up with: FSF 19.31. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 /* Contributed by Ian Lance Taylor, ian@cygnus.com. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 /* SCO is sort of like SVR3. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 #include "usg5-3.h"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 #define SC0_R4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 #if 0 /* Turned off rather than make the Lisp code check for this. -- rms.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 I am assuming that (at least most of) the tests for usg-unix-v
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 do the right thing for sco3.2v4 also. Things that *might* be wrong
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 as a result of turning off these lines include the values of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 ange-ftp-remote-shell-file-name (now remsh)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 dired-chown-program (now just chown)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 lpr-command (now lp)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 nntp-buggy-select (now t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 rmail-spool-directory (now /usr/mail?)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 and the actions of the function print-region-1. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 /* SYSTEM_TYPE should indicate the kind of system you are using. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 #undef SYSTEM_TYPE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 #define SYSTEM_TYPE "SCO 3.2v4"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 /* SCO has ptys with unusual names. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 #define HAVE_PTYS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 #define PTY_ITERATION \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 for (i = 0; ; i++)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 #define PTY_NAME_SPRINTF \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 sprintf (pty_name, "/dev/ptyp%d", i);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 #define PTY_TTY_NAME_SPRINTF \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 sprintf (pty_name, "/dev/ttyp%d", i);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 /* Must use 'cc' to link when build with motif toolkit. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 #ifndef __GNUC__
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 0
diff changeset
57 #define LINKER "cc"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 /* This is safe since we already assumed HAVE_SOCKETS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 if using X windows. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 #undef LIBX11_SYSTEM
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 0
diff changeset
63 #define LIBX11_SYSTEM "-lpt -lnls -lnsl_s -lc_s -lsocket"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 #ifdef HAVE_SOCKETS
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 0
diff changeset
66 #define LIBS_SYSTEM "-lsocket -lPW"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 /* SCO has gettimeofday in socket library */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 /* Autoconf should determine this, but for now,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 play safe to avoid error rather than deleting this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 and risking the wrong result. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 #ifndef HAVE_GETTIMEOFDAY
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 #define HAVE_GETTIMEOFDAY
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 /* This enables configure to tell that we have alloca. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 #ifndef LIBS_SYSTEM
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 0
diff changeset
79 #define LIBS_SYSTEM "-lPW"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 #ifdef HAVE_X11R5
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 /* configure can't get this right linking fails unless -lsocket is used. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 #undef HAVE_XSCREENNUMBEROFSCREEN
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 #define HAVE_XSCREENNUMBEROFSCREEN
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 /* We don't have -loldX, and we don't need it. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 #define LIB_XMENU_LIB
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 /* SCO does have TIOCGWINSZ. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 #undef BROKEN_TIOCGWINSZ
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 #define NEED_PTEM_H
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 /* We need to link with crt1.o and crtn.o. */
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 0
diff changeset
96 #define START_FILES "pre-crt0.o /lib/crt1.o"
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 0
diff changeset
97 #define LIB_STANDARD "-lc /lib/crtn.o"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 /* Send signals to subprocesses by "typing" signal chars at them. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 #define SIGNALS_VIA_CHARACTERS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 /* Specify program for etc/fakemail to run. Define SMAIL if you are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 using smail, don't for MMDF. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105 #ifdef SMAIL
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 #define MAIL_PROGRAM_NAME "/bin/smail -q0"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 #else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 #define MAIL_PROGRAM_NAME "/usr/lib/mail/execmail"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111 /* Tell process_send_signal to use VSUSP instead of VSWTCH. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 #define PREFER_VSUSP
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 /* wjs@wiis.wang.com says SCO 3.2 v4.2 "has sockets",
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 but only for network connections.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 It doesn't have the kind of sockets that emacsclient.c
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 and emacsserver.c would use. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 #define NO_SOCKETS_IN_FILE_SYSTEM