[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:01:32 +0200 |
> From: Andreas Schwab <address@hidden>
> Cc: address@hidden, Alexander Shukaev <address@hidden>
> Date: Mon, 16 Dec 2019 17:02:56 +0100
>
> On Dez 16 2019, Eli Zaretskii wrote:
>
> > tty-erase-char is a global variable, so it is not per terminal.
> >
> > But I don't think I understand what you mean by "frame refers to a
> > different value" in this context. What do you think Emacs does with the
> > value of this variable, that you need to be specific to a frame?
>
> 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.
- Daemon/Client, Multiple Terminals, and `tty-erase-char', Alexander Shukaev, 2019/12/15
- Re: Daemon/Client, Multiple Terminals, and `tty-erase-char', Eli Zaretskii, 2019/12/16
- Re: Daemon/Client, Multiple Terminals, and `tty-erase-char', Alexander Shukaev, 2019/12/16
- Re: Daemon/Client, Multiple Terminals, and `tty-erase-char', Andreas Schwab, 2019/12/16
- Re: Daemon/Client, Multiple Terminals, and `tty-erase-char', Alexander Shukaev, 2019/12/16
- Re: Daemon/Client, Multiple Terminals, and `tty-erase-char',
Eli Zaretskii <=
- Re: Daemon/Client, Multiple Terminals, and `tty-erase-char', Andreas Schwab, 2019/12/16
- Re: Daemon/Client, Multiple Terminals, and `tty-erase-char', Eli Zaretskii, 2019/12/16
- Re: Daemon/Client, Multiple Terminals, and `tty-erase-char', Andreas Schwab, 2019/12/16
- Re: Daemon/Client, Multiple Terminals, and `tty-erase-char', Eli Zaretskii, 2019/12/16
- Re: Daemon/Client, Multiple Terminals, and `tty-erase-char', Andreas Schwab, 2019/12/16