Mercurial > emacs
annotate src/s/386bsd.h @ 83043:78a785f205ea
Added -w option to emacsclient for opening a new X frame.
lib-src/emacsclient.c (window_system): New variable.
(frame): Renamed to tty for consistency with the option name.
(longopts, print_help_and_exit): Added -w option. (Suggested by Ami
Fischman <ami at fischman dot org>.
(decode_options): Initialize display to $DISPLAY. Handle -w option.
(main): Implement the -w option. Changed to a more elaborate protocol
between Emacs and emacsclient, in preparation to suspend support.
lisp/server.el (server-frames): New variable.
(server-handle-delete-frame): New function.
(server-start): Add it to delete-frame-functions.
(server-select-display): Don't make the new frame invisible.
(server-with-errors-reported): New macro for brevity.
(server-process-filter): Implement the "-window-system" command.
Use server-with-errors-reported. Fixed regexp for +line:column syntax.
Use the new protocol.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-83
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Thu, 19 Feb 2004 23:55:51 +0000 |
parents | 695cf19ef79e |
children | 375f2633d815 |
rev | line source |
---|---|
3381
de9c7511a85c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3380
diff
changeset
|
1 /* s/ file for 386bsd system. */ |
de9c7511a85c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3380
diff
changeset
|
2 |
3380 | 3 /* Get most of the stuff from bsd4.3 */ |
4 #include "bsd4-3.h" | |
5 | |
4271
fd05e9662279
(LOCALTIME_CACHE): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
4234
diff
changeset
|
6 #undef LIB_STANDARD |
fd05e9662279
(LOCALTIME_CACHE): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
4234
diff
changeset
|
7 #define LIB_STANDARD -lc $(GNULIB_VAR) |
fd05e9662279
(LOCALTIME_CACHE): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
4234
diff
changeset
|
8 |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
13017
diff
changeset
|
9 /* The following should be set to /netbsd if you are running netbsd > 0.8 |
3380 | 10 Or just link /netbsd -> /386bsd */ |
11 #undef KERNEL_FILE | |
12 #define KERNEL_FILE "/386bsd" | |
13 | |
14 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) | |
15 | |
16 /* Need to use GNU make, as system make has problems */ | |
17 #define MAKE_COMMAND gmake | |
18 #define LIBS_DEBUG | |
3417
88e091efba6c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3381
diff
changeset
|
19 |
88e091efba6c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3381
diff
changeset
|
20 /* For mem-limits.h. */ |
88e091efba6c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3381
diff
changeset
|
21 #define BSD4_2 |
4234
19f077831e72
(DECLARE_GETPWUID_WITH_UID_T): Declared.
Richard M. Stallman <rms@gnu.org>
parents:
3590
diff
changeset
|
22 |
19f077831e72
(DECLARE_GETPWUID_WITH_UID_T): Declared.
Richard M. Stallman <rms@gnu.org>
parents:
3590
diff
changeset
|
23 /* This affects a declaration in xrdb.c. */ |
19f077831e72
(DECLARE_GETPWUID_WITH_UID_T): Declared.
Richard M. Stallman <rms@gnu.org>
parents:
3590
diff
changeset
|
24 #define DECLARE_GETPWUID_WITH_UID_T |
52401 | 25 |
26 /* arch-tag: 8a114892-0863-4285-a4cb-3d66ba2d8e7b | |
27 (do not change this comment) */ |