Mercurial > emacs
comparison src/cm.c @ 53343:56e4b7166995
Make sure secondary frames are deleted when emacsclient quits.
lisp/server.el (server-sentinel): Delete frame if alive. Fix delq
invocation on server-frames.
(server-process-filter, server-buffer-done): Fix delq invocation on
server-frames.
src/cm.c (cmputc): Abort on write error, see what happens.
src/keyboard.c (read_avail_input): Do delete_tty on read errors.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-21
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Mon, 29 Dec 2003 08:28:35 +0000 |
parents | db645482d6bc |
children | f3845715a5f6 |
comparison
equal
deleted
inserted
replaced
53342:201b17b0f2e5 | 53343:56e4b7166995 |
---|---|
68 cmputc (c) | 68 cmputc (c) |
69 char c; | 69 char c; |
70 { | 70 { |
71 if (TTY_TERMSCRIPT (current_tty)) | 71 if (TTY_TERMSCRIPT (current_tty)) |
72 putc (c & 0177, TTY_TERMSCRIPT (current_tty)); | 72 putc (c & 0177, TTY_TERMSCRIPT (current_tty)); |
73 putc (c & 0177, TTY_OUTPUT (current_tty)); | 73 if (putc (c & 0177, TTY_OUTPUT (current_tty)) == EOF) |
74 abort (); /* XXX For testing only! */ | |
74 return c; | 75 return c; |
75 } | 76 } |
76 | 77 |
77 /* NEXT TWO ARE DONE WITH MACROS */ | 78 /* NEXT TWO ARE DONE WITH MACROS */ |
78 #if 0 | 79 #if 0 |