emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Daemon/Client, Multiple Terminals, and `tty-erase-char'


From: Eli Zaretskii
Subject: Re: Daemon/Client, Multiple Terminals, and `tty-erase-char'
Date: Mon, 16 Dec 2019 19:44:09 +0200

> From: Andreas Schwab <address@hidden>
> Cc: address@hidden,  address@hidden
> Date: Mon, 16 Dec 2019 18:15:13 +0100
> 
> >> Currently, tty-erase-char is set to the ERASE character of the last
> >> opened terminal.  Since normal-erase-is-backspace-setup-frame is
> >> normally only called once when the frame is created, this happens to
> >> work out right.
> >
> > tty-erase-char is also set whenever init_sys_modes is called, and
> > many/most of its callers are generally supposed to be called for the
> > controlling terminal only.  If one of those callers is actually
> > called, tty-erase-char will be reset to the ERASE character of the
> > controlling terminal, AFAIU.
> 
> Emacs can have multiple controlling terminals, if there are multiple
> terminals.

OK, but still, if one calls, say, set-input-meta-mode, tty-erase-char
will be reset as appropriate for the TERMINAL argument, and that is
not necessarily the last-frame value.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]