annotate src/s/sunos4-0.h @ 81387:c0681aed938d

(rcirc-format-response-string): Use rcirc-nick-syntax around bright and dim regexps. Make sure bright and dim matches use word anchors. Send text through rcirc-markup functions. (rcirc-url-regexp): Add single quote character. (rcirc-connect): Write logs to disk on auto-save-hook. Make server a non-optional argument. (rcirc-log-alist): New variable. (rcirc-log-directory): Make customizable. (rcirc-log-flag): New customizable variable. (rcirc-log): New function. (rcirc-print): Use above function. (rcirc-log-write): New function. (rcirc-generate-new-buffer-name): Strip text properties. (rcirc-switch-to-buffer-function): Remove variable. (rcirc-last-non-irc-buffer): Remove variable. (rcirc-non-irc-buffer): Add function. (rcirc-next-active-buffer): Use above function. (rcirc-keepalive): Send KEEPALIVE ctcp instead of a PING. (rcirc-handler-ctcp-KEEPALIVE): Add handler. (rcirc-handler-CTCP): Don't print KEEPALIVE responses. (rcirc-omit-mode): Add minor-mode. (rcirc-mode-map): Change C-c C-o binding. (rcirc-mode): Clear mode-line-process. Use a custom fill-paragraph-function. Set up buffer-invisibility-spec. (rcirc-response-formats): Remove timestamp code. (rcirc-omit-responses): Add variable. (rcirc-print): Don't put the overlay arrow on potentially omitted lines. Log line to disk. Record activity for private messages from /dim nicks. Facify the fill-prefix with rcirc-timestamp face. (rcirc-jump-to-first-unread-line): Print message if there is no unread text. (rcirc-clear-unread): New function. (rcirc-markup-text-functions): Add variable. (rcirc-markup-timestamp, rcirc-markup-fill): Add functions. (rcirc-debug): Don't mess with window configuration. (rcirc-send-message): Send message before printing locally. Add SILENT argument, do not print message if non-nil. (rcirc-visible-buffers): New function and variable. (rcirc-window-configuration-change-1): Add function. (rcirc-target-buffer): Make sure ACTIONs don't get sent to the server buffer. (rcirc-clean-up-buffer): Set rcirc-target to nil when finished. (rcirc-fill-paragraph): Add function. (rcirc-record-activity, rcirc-window-configuration-change-1): Only update the activity string if it has actually changed. (rcirc-update-activity-string): Remove padding characters from the mode-line string. (rcirc-disconnect-buffer): New function to be called when a channel is parted or the user quits. (rcirc-server-name): Warn when the server-name hasn't been set. (rcirc-window-configuration-change): Postpone work until post-command-hook. (rcirc-window-configuration-change-1): Update mode-line and overlay arrows here. (rcirc-authenticate): Fix chanserv identification. (rcirc-default-server): Remove variable. (rcirc): Connect according to rcirc-connections. (rcirc-connections): Add variable. (rcirc-startup-channels-alist): Remove variable. (rcirc-startup-channels): Remove function.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 13 Jun 2007 21:17:18 +0000
parents b3ac3a951e95
children f06998349cfc dd7c098af727
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
75945
b3ac3a951e95 Fix typo in previous change.
Glenn Morris <rgm@gnu.org>
parents: 75943
diff changeset
1 /* Definitions file for GNU Emacs running on sunos 4.0.
75943
bbb115bb1b44 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
2
bbb115bb1b44 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
3 Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, 2006,
bbb115bb1b44 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
4 2007 Free Software Foundation, Inc.
bbb115bb1b44 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
5
bbb115bb1b44 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.
bbb115bb1b44 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
7
bbb115bb1b44 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
bbb115bb1b44 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
bbb115bb1b44 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
10 the Free Software Foundation; either version 2, or (at your option)
bbb115bb1b44 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
11 any later version.
bbb115bb1b44 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
12
bbb115bb1b44 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,
bbb115bb1b44 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
bbb115bb1b44 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
bbb115bb1b44 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.
bbb115bb1b44 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
17
bbb115bb1b44 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
bbb115bb1b44 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
bbb115bb1b44 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,
bbb115bb1b44 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. */
bbb115bb1b44 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
22
bbb115bb1b44 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
23
457
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
24 #include "bsd4-2.h"
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
25
8757
5010c26b7a07 (SUNOS4): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7140
diff changeset
26 #ifndef SUNOS4
5010c26b7a07 (SUNOS4): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7140
diff changeset
27 #define SUNOS4
5010c26b7a07 (SUNOS4): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7140
diff changeset
28 #endif
5010c26b7a07 (SUNOS4): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7140
diff changeset
29
457
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
30 #if 0 /* This may have been needed for an earlier version of Sun OS 4.
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
31 It seems to cause warnings in 4.0.3 and 4.1. */
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
32 #define O_NDELAY FNDELAY /* Non-blocking I/O (4.2 style) */
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
33 #endif
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
34
7140
c2e4cc470ade (LD_SWITCH_SYSTEM): Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents: 6820
diff changeset
35 /* We use the Sun syntax -Bstatic unconditionally, because even when we
c2e4cc470ade (LD_SWITCH_SYSTEM): Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents: 6820
diff changeset
36 use GCC, these are passed through to the linker, not handled by GCC
c2e4cc470ade (LD_SWITCH_SYSTEM): Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents: 6820
diff changeset
37 directly. */
18569
b751e29103f4 (LD_SWITCH_SYSTEM_TEMACS): Defined. Move -e here.
Richard M. Stallman <rms@gnu.org>
parents: 8757
diff changeset
38 #define LD_SWITCH_SYSTEM -Bstatic
b751e29103f4 (LD_SWITCH_SYSTEM_TEMACS): Defined. Move -e here.
Richard M. Stallman <rms@gnu.org>
parents: 8757
diff changeset
39
b751e29103f4 (LD_SWITCH_SYSTEM_TEMACS): Defined. Move -e here.
Richard M. Stallman <rms@gnu.org>
parents: 8757
diff changeset
40 /* We use this for linking temacs, but not for other programs
b751e29103f4 (LD_SWITCH_SYSTEM_TEMACS): Defined. Move -e here.
Richard M. Stallman <rms@gnu.org>
parents: 8757
diff changeset
41 or for tests in configure. */
b751e29103f4 (LD_SWITCH_SYSTEM_TEMACS): Defined. Move -e here.
Richard M. Stallman <rms@gnu.org>
parents: 8757
diff changeset
42 #define LD_SWITCH_SYSTEM_TEMACS -e __start
457
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
43
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
44 /* In SunOS 4.1, a static function called by tzsetwall reportedly
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
45 clears the byte just past an eight byte region it mallocs, corrupting
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
46 GNU malloc's memory pool. But Sun's malloc doesn't seem to mind. */
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
47
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
48 #define SYSTEM_MALLOC
5681
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
49
26528
6b226f263365 (ABORT_RETURN_TYPE, FREE_RETURN_TYPE):
Paul Eggert <eggert@twinsun.com>
parents: 18569
diff changeset
50 /* SunOS 4.x cc <stdlib.h> declares abort and free to return int. */
6b226f263365 (ABORT_RETURN_TYPE, FREE_RETURN_TYPE):
Paul Eggert <eggert@twinsun.com>
parents: 18569
diff changeset
51
6b226f263365 (ABORT_RETURN_TYPE, FREE_RETURN_TYPE):
Paul Eggert <eggert@twinsun.com>
parents: 18569
diff changeset
52 #ifndef __STDC__
6b226f263365 (ABORT_RETURN_TYPE, FREE_RETURN_TYPE):
Paul Eggert <eggert@twinsun.com>
parents: 18569
diff changeset
53 #define ABORT_RETURN_TYPE int
6b226f263365 (ABORT_RETURN_TYPE, FREE_RETURN_TYPE):
Paul Eggert <eggert@twinsun.com>
parents: 18569
diff changeset
54 #define FREE_RETURN_TYPE int
6b226f263365 (ABORT_RETURN_TYPE, FREE_RETURN_TYPE):
Paul Eggert <eggert@twinsun.com>
parents: 18569
diff changeset
55 #endif
6b226f263365 (ABORT_RETURN_TYPE, FREE_RETURN_TYPE):
Paul Eggert <eggert@twinsun.com>
parents: 18569
diff changeset
56
5681
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
57 #ifdef __GNUC__
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
58 /* We must define mkdir with this arg prototype
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
59 to match GCC's fixed stat.h. */
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
60 #define MKDIR_PROTOTYPE \
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
61 int mkdir (const char *dpath, unsigned short dmode)
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
62 #endif /* __GNUC__ */
30426
8674e7d48c7a (LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents: 26528
diff changeset
63
8674e7d48c7a (LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents: 26528
diff changeset
64 /* Must use the system's termcap, if we use any termcap.
8674e7d48c7a (LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents: 26528
diff changeset
65 It does special things. */
8674e7d48c7a (LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents: 26528
diff changeset
66
8674e7d48c7a (LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents: 26528
diff changeset
67 #ifndef TERMINFO
8674e7d48c7a (LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents: 26528
diff changeset
68 #define LIBS_TERMCAP -ltermcap
8674e7d48c7a (LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents: 26528
diff changeset
69 #endif
49356
fbabb532002e (GC_SETJMP_WORKS, GC_MARK_STACK): Define.
Dave Love <fx@gnu.org>
parents: 30426
diff changeset
70
fbabb532002e (GC_SETJMP_WORKS, GC_MARK_STACK): Define.
Dave Love <fx@gnu.org>
parents: 30426
diff changeset
71 #define GC_SETJMP_WORKS 1
fbabb532002e (GC_SETJMP_WORKS, GC_MARK_STACK): Define.
Dave Love <fx@gnu.org>
parents: 30426
diff changeset
72 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49356
diff changeset
73
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49356
diff changeset
74 /* arch-tag: 362f3bfc-810d-4f6e-9b83-5a32f8f1a926
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49356
diff changeset
75 (do not change this comment) */