Mercurial > emacs
annotate src/s/irix6-5.h @ 108243:be3f6d650654
Minor cleanups.
* org-table.el (orgtbl-setup):
* org-agenda.el (org-agenda-entry-text-mode): Simplify.
* subr.el (add-minor-mode): Use push.
* mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
* emulation/edt.el (edt-select-mode): Simplify.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 05 May 2010 00:27:16 -0400 |
parents | d37472566980 |
children | 8416c8d075e3 |
rev | line source |
---|---|
75964
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
1 /* Definitions file for GNU Emacs running on Silicon Graphics Irix system 6.5. |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
2 |
94715
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
92159
diff
changeset
|
3 Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
106815 | 4 2008, 2009, 2010 Free Software Foundation, Inc. |
75964
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
5 |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
6 This file is part of GNU Emacs. |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
7 |
94715
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
92159
diff
changeset
|
8 GNU Emacs is free software: you can redistribute it and/or modify |
75964
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
9 it under the terms of the GNU General Public License as published by |
94715
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
92159
diff
changeset
|
10 the Free Software Foundation, either version 3 of the License, or |
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
92159
diff
changeset
|
11 (at your option) any later version. |
75964
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
12 |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
13 GNU Emacs is distributed in the hope that it will be useful, |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
14 but WITHOUT ANY WARRANTY; without even the implied warranty of |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
16 GNU General Public License for more details. |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
17 |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
18 You should have received a copy of the GNU General Public License |
94715
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
92159
diff
changeset
|
19 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
75964
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
20 |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
21 |
48081 | 22 #define IRIX6_5 /* used in m/iris4d */ |
92159
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
23 #include "usg5-4.h" |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
24 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
25 #undef _longjmp /* use system versions, not conservative aliases */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
26 #undef _setjmp |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
27 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
28 #define SETPGRP_RELEASES_CTTY |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
29 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
30 #ifdef LIB_STANDARD |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
31 #undef LIB_STANDARD |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
32 #endif |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
33 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
34 #ifdef SYSTEM_TYPE |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
35 #undef SYSTEM_TYPE |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
36 #endif |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
37 #define SYSTEM_TYPE "irix" |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
38 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
39 #ifdef SETUP_SLAVE_PTY |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
40 #undef SETUP_SLAVE_PTY |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
41 #endif |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
42 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
43 /* thomas@mathematik.uni-bremen.de says this is needed. */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
44 /* Make process_send_signal work by "typing" a signal character on the pty. */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
45 #define SIGNALS_VIA_CHARACTERS |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
46 |
108206 | 47 /* Use terminfo instead of termcap. */ |
48 | |
49 #define TERMINFO | |
50 | |
51 /* Letter to use in finding device name of first pty, | |
52 if system supports pty's. 'a' means it is /dev/ptya0 */ | |
53 | |
54 #undef FIRST_PTY_LETTER | |
55 #define FIRST_PTY_LETTER 'q' | |
56 | |
92159
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
57 /* No need to use sprintf to get the tty name--we get that from _getpty. */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
58 #define PTY_TTY_NAME_SPRINTF |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
59 /* No need to get the pty name at all. */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
60 #ifdef PTY_NAME_SPRINTF |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
61 #undef PTY_NAME_SPRINTF |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
62 #endif |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
63 #define PTY_NAME_SPRINTF |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
64 #ifdef emacs |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
65 char *_getpty(); |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
66 #endif |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
67 /* We need only try once to open a pty. */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
68 #define PTY_ITERATION |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
69 /* Here is how to do it. */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
70 #define PTY_OPEN \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
71 { \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
72 struct sigaction ocstat, cstat; \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
73 char * name; \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
74 sigemptyset(&cstat.sa_mask); \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
75 cstat.sa_handler = SIG_DFL; \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
76 cstat.sa_flags = 0; \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
77 sigaction(SIGCLD, &cstat, &ocstat); \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
78 name = _getpty (&fd, O_RDWR | O_NDELAY, 0600, 0); \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
79 sigaction(SIGCLD, &ocstat, (struct sigaction *)0); \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
80 if (name == 0) \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
81 return -1; \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
82 if (fd < 0) \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
83 return -1; \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
84 if (fstat (fd, &stb) < 0) \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
85 return -1; \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
86 strcpy (pty_name, name); \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
87 } |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
88 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
89 /* Ulimit(UL_GMEMLIM) is busted... */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
90 #define ULIMIT_BREAK_VALUE 0x14000000 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
91 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
92 /* Tell process_send_signal to use VSUSP instead of VSWTCH. */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
93 #define PREFER_VSUSP |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
94 |
107796
58f5110b2519
* m/iris4d.h (UNEXEC): Move definition ...
Dan Nicolaescu <dann@ics.uci.edu>
parents:
107575
diff
changeset
|
95 #define UNEXEC unexelf.o |
58f5110b2519
* m/iris4d.h (UNEXEC): Move definition ...
Dan Nicolaescu <dann@ics.uci.edu>
parents:
107575
diff
changeset
|
96 |
92159
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
97 /* define MAIL_USE_FLOCK if the mailer uses flock |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
98 to interlock access to /usr/spool/mail/$USER. |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
99 The alternative is that a lock file named |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
100 /usr/spool/mail/$USER.lock. */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
101 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
102 #define MAIL_USE_FLOCK |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
103 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
104 #define NARROWPROTO 1 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
105 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
106 #define USE_MMAP_FOR_BUFFERS 1 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
107 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
108 /* arch-tag: ad0660e0-acf8-46ae-b866-4f3df5b1101b |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
109 (do not change this comment) */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
110 |
23913 | 111 |
30505
a0367b506722
(IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
Dave Love <fx@gnu.org>
parents:
27490
diff
changeset
|
112 #if _MIPS_SZLONG == 64 /* -mabi=64 (gcc) or -64 (MIPSpro) */ |
31925 | 113 #define _LP64 /* lisp.h takes care of the rest */ |
30505
a0367b506722
(IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
Dave Love <fx@gnu.org>
parents:
27490
diff
changeset
|
114 #endif /* _MIPS_SZLONG */ |
23913 | 115 |
116 #undef SA_RESTART | |
117 | |
34612
67fa8a547b3d
#undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents:
31925
diff
changeset
|
118 #undef TIOCSIGSEND /* defined in usg5-4.h */ |
52401 | 119 |
68263
06d1688690ad
(GC_SETJMP_WORKS, GC_MARK_STACK): New definitions.
Richard M. Stallman <rms@gnu.org>
parents:
52401
diff
changeset
|
120 /* Tested on Irix 6.5. SCM worked on earlier versions. */ |
06d1688690ad
(GC_SETJMP_WORKS, GC_MARK_STACK): New definitions.
Richard M. Stallman <rms@gnu.org>
parents:
52401
diff
changeset
|
121 #define GC_SETJMP_WORKS 1 |
06d1688690ad
(GC_SETJMP_WORKS, GC_MARK_STACK): New definitions.
Richard M. Stallman <rms@gnu.org>
parents:
52401
diff
changeset
|
122 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS |
06d1688690ad
(GC_SETJMP_WORKS, GC_MARK_STACK): New definitions.
Richard M. Stallman <rms@gnu.org>
parents:
52401
diff
changeset
|
123 |
52401 | 124 /* arch-tag: d7ad9ec2-54ad-4b2f-adf2-0070c5c63e83 |
125 (do not change this comment) */ |