annotate src/s/isc2-2.h @ 79804:0b921cfccfde

(shell-dirtrack-verbose, shell-mode) (shell-directory-tracker, shell-dirtrack-mode): Doc fix. (dirtrack-toggle, dirtrack-mode): No longer alias to shell-dirtrack-mode.
author Glenn Morris <rgm@gnu.org>
date Thu, 10 Jan 2008 04:04:11 +0000
parents 68df465b9550
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
75940
3e383495c511 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
1 /* system description file for Interactive (ISC) Unix version 2.2 on the 386.
3e383495c511 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
2
3e383495c511 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
3 Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006,
79756
68df465b9550 Add 2008 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 78259
diff changeset
4 2007, 2008 Free Software Foundation, Inc.
75940
3e383495c511 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
5
3e383495c511 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
6 This file is part of GNU Emacs.
3e383495c511 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
7
3e383495c511 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
8 GNU Emacs is free software; you can redistribute it and/or modify
3e383495c511 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
9 it under the terms of the GNU General Public License as published by
78259
f06998349cfc Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 75940
diff changeset
10 the Free Software Foundation; either version 3, or (at your option)
75940
3e383495c511 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
11 any later version.
3e383495c511 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
12
3e383495c511 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
13 GNU Emacs is distributed in the hope that it will be useful,
3e383495c511 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
3e383495c511 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3e383495c511 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
16 GNU General Public License for more details.
3e383495c511 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
17
3e383495c511 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
18 You should have received a copy of the GNU General Public License
3e383495c511 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
19 along with GNU Emacs; see the file COPYING. If not, write to
3e383495c511 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
20 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
3e383495c511 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
21 Boston, MA 02110-1301, USA. */
3e383495c511 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
22
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
23
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
24 #include "usg5-3.h"
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
25
13029
a47af2f30446 (BROKEN_SELECT_NON_X): Define this instead of turning
Karl Heuer <kwzh@gnu.org>
parents: 9911
diff changeset
26 /* select (in -linet) works okay on X ptys, but not on the serial port.
a47af2f30446 (BROKEN_SELECT_NON_X): Define this instead of turning
Karl Heuer <kwzh@gnu.org>
parents: 9911
diff changeset
27 karl@cs.umb.edu says that with that select call, subprocesses made by
a47af2f30446 (BROKEN_SELECT_NON_X): Define this instead of turning
Karl Heuer <kwzh@gnu.org>
parents: 9911
diff changeset
28 (e.g.) M-x grep don't exit cleanly, they just hang. Similar problems
a47af2f30446 (BROKEN_SELECT_NON_X): Define this instead of turning
Karl Heuer <kwzh@gnu.org>
parents: 9911
diff changeset
29 have been observed in ISC 3.0. */
a47af2f30446 (BROKEN_SELECT_NON_X): Define this instead of turning
Karl Heuer <kwzh@gnu.org>
parents: 9911
diff changeset
30 #define BROKEN_SELECT_NON_X
2002
4c9113b2d6e0 (S_IFLNK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 524
diff changeset
31
14442
b5239b500b27 (HAVE_SOCKETS): Moved here from s/isc4-1.h.
Karl Heuer <kwzh@gnu.org>
parents: 13528
diff changeset
32 /* karl@cs.umb.edu says that ISC's socket support (in -linet) isn't
b5239b500b27 (HAVE_SOCKETS): Moved here from s/isc4-1.h.
Karl Heuer <kwzh@gnu.org>
parents: 13528
diff changeset
33 what Emacs needs; it makes interrupt-shell-subjob and the like do
b5239b500b27 (HAVE_SOCKETS): Moved here from s/isc4-1.h.
Karl Heuer <kwzh@gnu.org>
parents: 13528
diff changeset
34 nothing. But that appears to have been another manifestation of
b5239b500b27 (HAVE_SOCKETS): Moved here from s/isc4-1.h.
Karl Heuer <kwzh@gnu.org>
parents: 13528
diff changeset
35 the broken select, so it should now be safe to define this again. */
b5239b500b27 (HAVE_SOCKETS): Moved here from s/isc4-1.h.
Karl Heuer <kwzh@gnu.org>
parents: 13528
diff changeset
36 #define HAVE_SOCKETS
2002
4c9113b2d6e0 (S_IFLNK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 524
diff changeset
37
14442
b5239b500b27 (HAVE_SOCKETS): Moved here from s/isc4-1.h.
Karl Heuer <kwzh@gnu.org>
parents: 13528
diff changeset
38 #define NO_SOCKETS_IN_FILE_SYSTEM
b5239b500b27 (HAVE_SOCKETS): Moved here from s/isc4-1.h.
Karl Heuer <kwzh@gnu.org>
parents: 13528
diff changeset
39 #define NEED_NET_ERRNO_H
2002
4c9113b2d6e0 (S_IFLNK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 524
diff changeset
40
4c9113b2d6e0 (S_IFLNK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 524
diff changeset
41 /* This keeps the .cdbx section that gcc puts out when generating
4779
611531d01474 * Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents: 3824
diff changeset
42 stabs-in-coff output, so Emacs can be debugged. --karl@cs.umb.edu. */
2002
4c9113b2d6e0 (S_IFLNK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 524
diff changeset
43 #define USG_SHARED_LIBRARIES
4c9113b2d6e0 (S_IFLNK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 524
diff changeset
44
4c9113b2d6e0 (S_IFLNK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 524
diff changeset
45 /* We can support lock files. */
4c9113b2d6e0 (S_IFLNK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 524
diff changeset
46 #define CLASH_DETECTION
4c9113b2d6e0 (S_IFLNK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 524
diff changeset
47 #define NO_FCHMOD
4c9113b2d6e0 (S_IFLNK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 524
diff changeset
48
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
49 #define HAVE_PTYS
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
50 #define MAXNAMLEN 512
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
51 #define O_NDELAY O_NONBLOCK
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
52 #define MEMORY_IN_STRING_H
2002
4c9113b2d6e0 (S_IFLNK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 524
diff changeset
53
4779
611531d01474 * Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents: 3824
diff changeset
54 /* Tell gmalloc.c that we don't have memmove (system include files to the
611531d01474 * Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents: 3824
diff changeset
55 contrary!). */
611531d01474 * Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents: 3824
diff changeset
56 #define MEMMOVE_MISSING
611531d01474 * Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents: 3824
diff changeset
57
611531d01474 * Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents: 3824
diff changeset
58 /* Send a signal to a subprocess by "typing" a signal character. */
611531d01474 * Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents: 3824
diff changeset
59 #define SIGNALS_VIA_CHARACTERS
611531d01474 * Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents: 3824
diff changeset
60
611531d01474 * Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents: 3824
diff changeset
61 /* -lPW is only needed if not using Gcc. We used to include -lcposix here
9911
b155247be266 Fix typos in comment.
Karl Heuer <kwzh@gnu.org>
parents: 9043
diff changeset
62 for the rename function, but some people say ISC's rename doesn't
4779
611531d01474 * Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents: 3824
diff changeset
63 work correctly with Emacs so we use Emacs' emulation instead. */
611531d01474 * Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents: 3824
diff changeset
64 #if defined (__GNUC__)
13464
65d38521e620 (LIB_STANDARD_1): New macro.
Richard M. Stallman <rms@gnu.org>
parents: 13029
diff changeset
65 # define LIB_STANDARD_1 -lcposix
4779
611531d01474 * Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents: 3824
diff changeset
66 #else /* !__GNUC__ */
13464
65d38521e620 (LIB_STANDARD_1): New macro.
Richard M. Stallman <rms@gnu.org>
parents: 13029
diff changeset
67 # define LIB_STANDARD_1 -lPW
4779
611531d01474 * Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents: 3824
diff changeset
68 #endif /* !__GNUC__ */
2002
4c9113b2d6e0 (S_IFLNK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 524
diff changeset
69
13464
65d38521e620 (LIB_STANDARD_1): New macro.
Richard M. Stallman <rms@gnu.org>
parents: 13029
diff changeset
70 /* LIB_STANDARD_1 is used both here and in LIBS_SYSTEM
65d38521e620 (LIB_STANDARD_1): New macro.
Richard M. Stallman <rms@gnu.org>
parents: 13029
diff changeset
71 (the latter for the sake of configure). */
65d38521e620 (LIB_STANDARD_1): New macro.
Richard M. Stallman <rms@gnu.org>
parents: 13029
diff changeset
72 #define LIB_STANDARD LIB_STANDARD_1 -lc
65d38521e620 (LIB_STANDARD_1): New macro.
Richard M. Stallman <rms@gnu.org>
parents: 13029
diff changeset
73
2002
4c9113b2d6e0 (S_IFLNK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 524
diff changeset
74 #define NO_X_DESTROY_DATABASE
524
79ea818b6aed entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
75
13464
65d38521e620 (LIB_STANDARD_1): New macro.
Richard M. Stallman <rms@gnu.org>
parents: 13029
diff changeset
76 /* -linet may be needed to avoid undefined symbols such as gethostname,
14442
b5239b500b27 (HAVE_SOCKETS): Moved here from s/isc4-1.h.
Karl Heuer <kwzh@gnu.org>
parents: 13528
diff changeset
77 inet_addr, gethostbyname, socket, connect, ... */
13528
628ea901db49 (LIBS_SYSTEM): Fix typo in prev change.
Richard M. Stallman <rms@gnu.org>
parents: 13464
diff changeset
78 #define LIBS_SYSTEM -linet LIB_STANDARD_1
524
79ea818b6aed entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
79
79ea818b6aed entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
80 /* This system has job control. */
79ea818b6aed entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
81 #undef NOMULTIPLEJOBS
2002
4c9113b2d6e0 (S_IFLNK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 524
diff changeset
82
4c9113b2d6e0 (S_IFLNK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 524
diff changeset
83 /* Inhibit asm code in netinet/in.h. Strictly speaking, only necessary
4c9113b2d6e0 (S_IFLNK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 524
diff changeset
84 when -traditional is being used, but it doesn't hurt to
4c9113b2d6e0 (S_IFLNK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 524
diff changeset
85 unconditionally define this. */
4c9113b2d6e0 (S_IFLNK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 524
diff changeset
86 #define NO_ASM
4c9113b2d6e0 (S_IFLNK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 524
diff changeset
87
4779
611531d01474 * Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents: 3824
diff changeset
88 /* -traditional is not necessary if the system header files are fixed to
611531d01474 * Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents: 3824
diff changeset
89 define getc and putc in the absence of _POSIX_SOURCE. GCC's from 2.4.4
611531d01474 * Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents: 3824
diff changeset
90 on do this. */
611531d01474 * Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents: 3824
diff changeset
91 #if !defined (__GNUC__) || __GNUC__ < 2
611531d01474 * Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents: 3824
diff changeset
92 # define C_SWITCH_SYSTEM -traditional
2002
4c9113b2d6e0 (S_IFLNK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 524
diff changeset
93 #endif
4c9113b2d6e0 (S_IFLNK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 524
diff changeset
94
4c9113b2d6e0 (S_IFLNK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 524
diff changeset
95 /* Some versions of ISC are said to define S_IFLNK even tho
4c9113b2d6e0 (S_IFLNK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 524
diff changeset
96 they don't really support symlinks. */
4c9113b2d6e0 (S_IFLNK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 524
diff changeset
97 #undef S_IFLNK
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 14442
diff changeset
98
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 14442
diff changeset
99 /* arch-tag: 4de02713-eac5-4360-9d36-fd82c7a3ae44
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 14442
diff changeset
100 (do not change this comment) */