aboutsummaryrefslogtreecommitdiffstats
path: root/README.multi-tty
diff options
context:
space:
mode:
authorKaroly Lorentey2004-01-01 17:55:53 +0000
committerKaroly Lorentey2004-01-01 17:55:53 +0000
commit28d7d09f841801cd052bb4ba0df92016b9245870 (patch)
treeeed006b0a32c39edb7a37d893bb2b192c63b69a5 /README.multi-tty
parent819b8f00ed7b8a9a2190efaa02376ed332ecf763 (diff)
downloademacs-28d7d09f841801cd052bb4ba0df92016b9245870.tar.gz
emacs-28d7d09f841801cd052bb4ba0df92016b9245870.zip
Separate frame-local, tty-dependent parameters from tty-local parameters.
src/termchar.h (struct tty_output): Redefined to contain frame-local tty-dependent parameters. (Currently there are no such parameters, so it consists of the tty_display_info pointer.) (struct tty_display_info): New structure, with reference_count. (FRAME_TTY): Updated to reflect new termcap frame structure. src/term.c: Update prototypes. Use tty_display_info instead of tty_output. src/cm.c (current_tty, cmcheckmagic, cmcostinit, calccost, cmgoto, Wcm_clear) (Wcm_init): Use tty_display_info instead of tty_output. src/cm.h: Update prototypes. src/dispextern.h: Ditto. src/dispnew.c (window_change_signal, init_display, make_terminal_frame): Use tty_display_info instead of tty_output. src/frame.c (Fdelete_frame): Use tty_display_info instead of tty_output. Fix delete_tty check. (make_terminal_frame): Allocate f->output_data.tty. Increase reference count of tty device. (delete_frame): Free f->output_data.tty. Use reference count to decide if the tty should be closed. src/frame.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): New, unconditional definitions. (struct device): New declaration (at the moment, it is defined as empty in termhooks.h). (struct frame): Added display, background_pixel, foreground_pixel member. src/keyboard.c (read_avail_input): Use tty_display_info instead of tty_output. src/lisp.h: Declare struct display. Update prototypes. src/sysdep.c: Update prototypes. (discard_tty_input, init_all_sys_modes, init_sys_modes, reset_all_sys_modes) (reset_sys_modes, hft_init, hft_reset): Use tty_display_info instead of tty_output. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-29
Diffstat (limited to 'README.multi-tty')
-rw-r--r--README.multi-tty8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.multi-tty b/README.multi-tty
index 4519be4e756..8003cef473e 100644
--- a/README.multi-tty
+++ b/README.multi-tty
@@ -107,7 +107,7 @@ DIARY OF CHANGES
107-- Implement support for reading from multiple terminals. 107-- Implement support for reading from multiple terminals.
108 108
109 (Done, read_avail_input tries to read from each terminal, until one 109 (Done, read_avail_input tries to read from each terminal, until one
110 succeeds. MULTIKBOARD is not used. Secondary terminals don't send 110 succeeds. MULTI_KBOARD is not used. Secondary terminals don't send
111 SIGIO!) 111 SIGIO!)
112 112
113 (Update: They do, now.) 113 (Update: They do, now.)
@@ -306,7 +306,7 @@ THINGS TO DO
306** Fix X support. 306** Fix X support.
307 307
308** Allow simultaneous X and tty frames. (Handling input could be 308** Allow simultaneous X and tty frames. (Handling input could be
309 tricky.) 309 tricky. Or maybe not.)
310 310
311** Implement support for starting an interactive Emacs session without 311** Implement support for starting an interactive Emacs session without
312 an initial frame. (The user would connect to it and open frames 312 an initial frame. (The user would connect to it and open frames
@@ -332,8 +332,8 @@ THINGS TO DO
332** Make sure C-g goes to the right frame. This is hard, as SIGINT 332** Make sure C-g goes to the right frame. This is hard, as SIGINT
333 doesn't have a tty parameter. :-( 333 doesn't have a tty parameter. :-(
334 334
335** I have seen a case when Emacs with multiple ttys went ate 100% of 335** I have seen a case when Emacs with multiple ttys fell into a loop
336 CPU time. Strace showed this loop: 336 eating 100% of CPU time. Strace showed this loop:
337 337
338 338
339 getpid() = 30284 339 getpid() = 30284