Mercurial > emacs
view oldXMenu/Makefile.in @ 83065:a871be7b26a5
Implemented suspending of emacsclient frames.
lib-src/emacsclient.c (quote_file_name): Renamed to quote_argument.
(unquote_argument, handle_sigcont, handle_sigtstp): New functions.
(out, in): New global variables for communicating with the Emacs process.
(init_signals): Set up handlers for SIGCONT, SIGTSTP and SIGTTOU.
(main): Changed out and in to global variables. Prepend `-eval' or
'-file' to each argument. Use fsync to force sending the strings to Emacs.
Removed obsolete -bad-version code. Support the -suspend command.
Cleaned up newline handling.
lisp/frame.el (suspend-frame): New function.
Substitute key definition of suspend-emacs with suspend-frame.
lisp/server.el (server-log): Cosmetic change in log format.
(server-handle-delete-tty, server-handle-delete-frame): Added logging.
(server-handle-suspend-tty, server-quote-arg): New functions.
(server-start): Install server-handle-suspend-tty.
(server-process-filter): Reorganized source code for clarity.
Implemented -resume, -suspend and -ignore commands.
lisp/term/x-win.el (x-initialize-window-system): Don't change the
binding of C-z.
src/cm.c: Replaced TTY_INPUT, TTY_OUTPUT, TTY_TERMSCRIPT calls with
their macro expansion.
src/dispnew.c: Ditto.
src/frame.c: Ditto.
src/keyboard.c: Ditto.
src/sysdep.c: Ditto.
src/keyboard.c (tty_read_avail_input): Don't read if the terminal is
suspended.
src/sysdep.c (discard_tty_input, init_sys_modes, reset_sys_modes): Ditto.
src/term.c (tty_set_terminal_modes, tty_reset_terminal_modes): Ditto.
src/term.c (Vsuspend_tty_functions, Vresume_tty_functions): New hooks.
(syms_of_term): Defvar them.
(term_init): Don't allow opening a new frame on a suspended tty device.
(Fsuspend_tty, Fresume_tty): New functions.
(syms_of_term): Defsubr them.
src/termchar.c (struct tty_display_info): Update documentation of
input and output.
(TTY_INPUT, TTY_OUTPUT, TTY_TERMSCRIPT): Removed.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-105
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Sat, 28 Feb 2004 01:23:39 +0000 |
parents | 695cf19ef79e |
children | bb6720f21c54 |
line wrap: on
line source
srcdir=@srcdir@ VPATH=@srcdir@ C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ EXTRA=insque.o CC=@CC@ CFLAGS=@CFLAGS@ CPP=@CPP@ LN_S=@LN_S@ AS = as LD = ld TAGS = etags RM = rm -f MV = mv RANLIB = ranlib # Solaris 2.1 ar doesn't accept the 'l' option. AR = ar cq LS = ls LINTOPTS = -axz LINTLIBFLAG = -C MAKE = make STD_DEFINES = CDEBUGFLAGS = -O RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \ tags TAGS make.log OBJS = Activate.o \ AddPane.o \ AddSel.o \ ChgPane.o \ ChgSel.o \ Create.o \ DelPane.o \ DelSel.o \ Destroy.o \ Error.o \ EvHand.o \ FindPane.o \ FindSel.o \ InsPane.o \ InsSel.o \ Internal.o \ Locate.o \ Post.o \ Recomp.o \ SetAEQ.o \ SetFrz.o \ SetPane.o \ SetSel.o \ XDelAssoc.o XLookAssoc.o XCrAssoc.o XDestAssoc.o XMakeAssoc.o all:: libXMenu11.a ALL_CFLAGS=$(C_SWITCH_SITE) $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) \ $(C_SWITCH_X_SITE) $(C_SWITCH_X_SYSTEM) $(C_SWITCH_X_MACHINE) \ $(CPPFLAGS) $(CFLAGS) -DEMACS_BITMAP_FILES \ -I../src -I${srcdir} -I${srcdir}/../src .c.o: $(CC) -c ${ALL_CFLAGS} $< libXMenu11.a: $(OBJS) $(EXTRA) $(RM) $@ $(AR) $@ $(OBJS) $(EXTRA) @echo Do not be alarmed if the following ranlib command @echo fails due to the absence of a ranlib program on your system. -$(RANLIB) $@ || true #If running ranlib fails, probably there is none. #That's ok. So don't stop the build. Activate.o: Activate.c XMenuInt.h XMenu.h X10.h AddPane.o: AddPane.c XMenuInt.h XMenu.h X10.h AddSel.o: AddSel.c XMenuInt.h XMenu.h X10.h ChgPane.o: ChgPane.c XMenuInt.h XMenu.h X10.h ChgSel.o: ChgSel.c XMenuInt.h XMenu.h X10.h Create.o: Create.c XMenuInt.h XMenu.h X10.h DelPane.o: DelPane.c XMenuInt.h XMenu.h X10.h DelSel.o: DelSel.c XMenuInt.h XMenu.h X10.h Destroy.o: Destroy.c XMenuInt.h XMenu.h X10.h Error.o: Error.c XMenuInt.h XMenu.h X10.h EvHand.o: EvHand.c XMenuInt.h XMenu.h X10.h FindPane.o: FindPane.c XMenuInt.h XMenu.h X10.h FindSel.o: FindSel.c XMenuInt.h XMenu.h X10.h InsPane.o: InsPane.c XMenuInt.h XMenu.h X10.h InsSel.o: InsSel.c XMenuInt.h XMenu.h X10.h Internal.o: Internal.c XMenuInt.h XMenu.h X10.h Locate.o: Locate.c XMenuInt.h XMenu.h X10.h Post.o: Post.c XMenuInt.h XMenu.h X10.h Recomp.o: Recomp.c XMenuInt.h XMenu.h X10.h SetAEQ.o: SetAEQ.c XMenuInt.h XMenu.h X10.h SetFrz.o: SetFrz.c XMenuInt.h XMenu.h X10.h SetPane.o: SetPane.c XMenuInt.h XMenu.h X10.h SetSel.o: SetSel.c XMenuInt.h XMenu.h X10.h XDelAssoc.o: XDelAssoc.c X10.h XLookAssoc.o: XLookAssoc.c X10.h XCrAssoc.o: XCrAssoc.c X10.h XDestAssoc.o: XDestAssoc.c X10.h XMakeAssoc.o: XMakeAssoc.c X10.h insque.o: insque.c FRC.mostlyclean: mostlyclean: FRC.mostlyclean rm -f libXMenu11.a ${OBJS} ${EXTRA} clean: mostlyclean distclean: clean maintainer-clean: distclean tags:: $(TAGS) -t *.[ch] # arch-tag: dbfc0b16-4e0c-4acb-a9c1-fc12ee76db06