Fixed tty faces during combo sessions. Plus other assorted bugfixes.
authorKaroly Lorentey <lorentey@elte.hu>
Fri, 23 Jan 2004 21:48:58 +0000 (21:48 +0000)
committerKaroly Lorentey <lorentey@elte.hu>
Fri, 23 Jan 2004 21:48:58 +0000 (21:48 +0000)
commitd448e98221f74c780d5163ed819b782ee32f7d74
treee4957b71e9a3aa7732f23b5c2bd1b2f1f884809a
parent6c3d443b13f9db58f54057b1061b1853c47cc6b8
Fixed tty faces during combo sessions.  Plus other assorted bugfixes.

lisp/startup.el (command-line): Always call tty-register-default-colors.

src/dispextern.h (delete_tty): Added missing prototype.

src/keyboard.c (read_avail_input): Close display gracefully if needed.
Kill Emacs if the last display is to be closed.
(tty_read_avail_input): Don't call delete_tty and don't signal hangup here;
return -2 instead to indicate the non-transient failure to read_avail_input.

src/term.c (delete_tty): Removed superflous wiping of the deleted
frames' output_data field.
(delete_display): Check for and close live frames that are still on the display.
src/termhooks.h (read_socket_hook, delete_display_hook): Added detailed comment.
src/xfaces.c (realize_face): Create a dummy face for the initial frame.
(Reported by Robert J. Chassell (bob at rattlenake dot com).)

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-61
README.multi-tty
lisp/startup.el
src/dispextern.h
src/keyboard.c
src/term.c
src/termhooks.h
src/xfaces.c