Mercurial > emacs
annotate oldXMenu/Imakefile @ 82988:f82e3a6f5ccb
A few more bugfixes and new features.
(Sigh.) I obviously need to remember to separate individual changes
to multiple commits.
src/emacsclient.c: Improved error handling.
(decode_options): Changed frame option (again) from -f to -t.
(print_help_and_exit): Ditto.
(copy_from_to): Check EINTR after write, not EAGAIN. Removed SIGIO hack.
(pty_conversation): Handle errors transmitted through the socket.
Handle pty errors by not reading from it anymore.
(main): Restore correct errno after socket_status failed. Send -tty
on -t, not -pty.
lisp/server.el (server-process-filter): Watch -tty, not -pty.
Use make-frame-on-tty instead of make-terminal-frame.
Don't set newframe to t if make-frame-on-tty failed.
Don't delete frames here. Print correct message when there are no
files to edit, but a new frame was requested.
(server-sentinel): Delete the frame after the process.
(server-handle-delete-frame): New function for delete-frame-functions.
(server-start): Add server-handle-delete-frame to delete-frame-functions.
(server-buffer-done): Don't delete frames here.
src/alloc.c (mark_ttys): Add prototype.
(Fgarbage_collect): Call mark_ttys.
src/emacs.c: (shut_down_emacs): Don't flush stdout before
reset_sys_modes().
src/process.c (add_keyboard_wait_descriptor_called_flag): Removed.
(add_keyboard_wait_descriptor): Removed stdin hack.
src/sysdep.c: Unconditionally include sysselect.h.
(old_fcntl_flags): Changed to an array.
(init_sigio, reset_sigio): Use it.
(narrow_foreground_group, widen_foreground_group): Use setpgid, not
setpgrp.
(old_fcntl_owner): Changed to an array.
(init_sys_modes, reset_sys_modes): Use it. Fix fsync() and reset_sigio() calls.
src/term.c (Qframe_tty_name, Qframe_tty_type): New variables.
(syms_of_term): Initialize them.
(Fframe_tty_name, Fframe_tty_type): New functions.
(term_init): Call add_keyboard_wait_descriptor().
(Fdelete_tty): New function.
(delete_tty): Call delete_keyboard_wait_descriptor().
(get_current_tty): Removed.
(mark_ttys): New function.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-28
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Wed, 31 Dec 2003 05:09:29 +0000 |
parents | 695cf19ef79e |
children | 375f2633d815 |
rev | line source |
---|---|
25858 | 1 HEADERS = XMenu.h |
2 LINTLIBS = ../lib/X/llib-lX.ln | |
3 INSTALLFLAGS = $(INSTINCFLAGS) | |
4 RANLIB = ranlib -t | |
5 | |
6 SRCS = Activate.c \ | |
7 AddPane.c \ | |
8 AddSel.c \ | |
9 ChgPane.c \ | |
10 ChgSel.c \ | |
11 Create.c \ | |
12 DelPane.c \ | |
13 DelSel.c \ | |
14 Destroy.c \ | |
15 Error.c \ | |
16 EvHand.c \ | |
17 FindPane.c \ | |
18 FindSel.c \ | |
19 InsPane.c \ | |
20 InsSel.c \ | |
21 Internal.c \ | |
22 Locate.c \ | |
23 Post.c \ | |
24 Recomp.c \ | |
25 SetAEQ.c \ | |
26 SetFrz.c \ | |
27 SetPane.c \ | |
28 SetSel.c \ | |
29 XCrAssoc.c \ | |
30 XDelAssoc.c \ | |
31 XDestAssoc.c \ | |
32 XLookAssoc.c \ | |
33 XMakeAssoc.c | |
34 | |
35 OBJS = Activate.o \ | |
36 AddPane.o \ | |
37 AddSel.o \ | |
38 ChgPane.o \ | |
39 ChgSel.o \ | |
40 Create.o \ | |
41 DelPane.o \ | |
42 DelSel.o \ | |
43 Destroy.o \ | |
44 Error.o \ | |
45 EvHand.o \ | |
46 FindPane.o \ | |
47 FindSel.o \ | |
48 InsPane.o \ | |
49 InsSel.o \ | |
50 Internal.o \ | |
51 Locate.o \ | |
52 Post.o \ | |
53 Recomp.o \ | |
54 SetAEQ.o \ | |
55 SetFrz.o \ | |
56 SetPane.o \ | |
57 SetSel.o \ | |
58 XCrAssoc.o \ | |
59 XDelAssoc.o \ | |
60 XDestAssoc.o \ | |
61 XLookAssoc.o \ | |
62 XMakeAssoc.o | |
63 | |
64 #if DebugOldLibXMenu && ProfileOldLibXMenu | |
65 DebuggedAndProfiledLibraryObjectRule() | |
66 #else | |
67 # if DebugOldLibXMenu | |
68 DebuggedLibraryObjectRule() | |
69 # else | |
70 # if ProfileOldLibXMenu | |
71 ProfiledLibraryObjectRule() | |
72 # else | |
73 NormalLibraryObjectRule() | |
74 # endif | |
75 # endif | |
76 #endif | |
77 | |
78 NormalLibraryTarget(XMenu11,$(OBJS)) | |
79 LintLibraryTarget(XMenu11,$(SRCS)) | |
80 InstallLibrary(XMenu11,$(USRLIBDIR)) | |
81 #if InstallLintLibs | |
82 InstallLintLibrary(XMenu11,$(LINTLIBDIR)) | |
83 #endif | |
84 InstallMultiple($(HEADERS),$(INCDIR)) | |
85 | |
86 #if ProfileOldLibXMenu | |
87 ProfiledLibraryTarget(XMenu11,$(OBJS)) | |
88 InstallLibrary(XMenu11_p,$(USRLIBDIR)) | |
89 #endif | |
90 | |
91 #if DebugOldLibXMenu | |
92 DebuggedLibraryTarget(XMenu11,$(OBJS)) | |
93 #endif | |
94 | |
95 DependTarget() | |
96 | |
97 NormalLintTarget($(SRCS)) | |
52401 | 98 |
99 /* arch-tag: bc7d2799-8343-4700-a415-847e7fa12540 | |
100 (do not change this comment) */ |