Fix C-g handling with multiple ttys.
authorKaroly Lorentey <lorentey@elte.hu>
Sun, 11 Jan 2004 02:45:44 +0000 (02:45 +0000)
committerKaroly Lorentey <lorentey@elte.hu>
Sun, 11 Jan 2004 02:45:44 +0000 (02:45 +0000)
commit4ca927b4e0eb688a0eb224463288443164dd716f
tree07e786aa4aba5640b38a872163b8960c86368d92
parent8f1ce42333b410e736053a7c5cbbf102032c84f2
Fix C-g handling with multiple ttys.

src/sysdep.c (init_sys_modes): Disable interrupt and quit keys on
secondary terminals.  Added a big fat comment about this.

lib-src/emacsclient.c (init_signals): Don't pass SIGINT and SIGQUIT to Emacs.

src/keyboard.c (interrupt_signal): Exit Emacs if there are no frames
on the controlling tty.  Otherwise set internal_last_event_frame to
the controlling tty's top frame.

src/term.c (ring_bell, tty_ring_bell): Don't look at updating_frame.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-52
README.multi-tty
lib-src/emacsclient.c
src/keyboard.c
src/sysdep.c
src/term.c