Mercurial > emacs
annotate src/s/openbsd.h @ 83246:5bc762f84335
Prevent emacsclient errors when Emacs is compiled without X support.
* lisp/frame.el (make-frame-on-display): Protect condition on
x-initialized when x-win.el is not loaded.
* lib-src/emacsclient.c (main): Handle -window-system-unsupported
command. Doc update.
* lisp/server.el (server-process-filter): Don't try to create an X frame
when Emacs does not support it. Improve logging.
* lisp/server.el (server-send-string): New function.
(server-handle-suspend-tty, server-process-filter): Use it.
* lisp/server.el (server-process-filter, server-unquote-arg)
(server-quote-arg): Doc updates.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-286
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Fri, 04 Feb 2005 13:56:51 +0000 |
parents | 695cf19ef79e |
children | 167aa6212e5a 375f2633d815 |
rev | line source |
---|---|
25844 | 1 /* s/ file for openbsd systems. */ |
2 | |
51877
cf068b0ef3c5
Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents:
28264
diff
changeset
|
3 /* Mostly the same as NetBSD. */ |
25844 | 4 #include "netbsd.h" |
28264 | 5 |
6 /* David Mazieres <dm@reeducation-labor.lcs.mit.edu> says this | |
7 is necessary. Otherwise Emacs dumps core when run -nw. */ | |
8 #undef LIBS_TERMCAP | |
51877
cf068b0ef3c5
Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents:
28264
diff
changeset
|
9 |
cf068b0ef3c5
Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents:
28264
diff
changeset
|
10 #define TERMINFO |
cf068b0ef3c5
Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents:
28264
diff
changeset
|
11 #define LIBS_TERMCAP -lncurses |
cf068b0ef3c5
Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents:
28264
diff
changeset
|
12 |
51977
64835b08503d
(LD_SWITCH_SYSTEM_TEMACS): Add undef.
Richard M. Stallman <rms@gnu.org>
parents:
51877
diff
changeset
|
13 #undef LD_SWITCH_SYSTEM_TEMACS |
51877
cf068b0ef3c5
Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents:
28264
diff
changeset
|
14 #undef LD_SWITCH_SYSTEM |
cf068b0ef3c5
Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents:
28264
diff
changeset
|
15 #ifdef __ELF__ |
cf068b0ef3c5
Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents:
28264
diff
changeset
|
16 |
cf068b0ef3c5
Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents:
28264
diff
changeset
|
17 /* Han Boetes <han@mijncomputer.nl> says this |
cf068b0ef3c5
Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents:
28264
diff
changeset
|
18 is necessary, otherwise Emacs dumps core on elf systems. */ |
cf068b0ef3c5
Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents:
28264
diff
changeset
|
19 #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Z |
cf068b0ef3c5
Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents:
28264
diff
changeset
|
20 |
cf068b0ef3c5
Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents:
28264
diff
changeset
|
21 #else |
cf068b0ef3c5
Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents:
28264
diff
changeset
|
22 |
cf068b0ef3c5
Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents:
28264
diff
changeset
|
23 #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp |
cf068b0ef3c5
Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents:
28264
diff
changeset
|
24 |
cf068b0ef3c5
Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents:
28264
diff
changeset
|
25 #endif |
52401 | 26 |
27 /* arch-tag: 7e3f65ca-3f48-4237-933f-2b208b21e8e2 | |
28 (do not change this comment) */ |