From: Andreas Schwab <schwab@suse.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs@Alexander.Shukaev.name, emacs-devel@gnu.org
Subject: Re: Daemon/Client, Multiple Terminals, and `tty-erase-char'
Date: Mon, 16 Dec 2019 18:15:13 +0100 [thread overview]
Message-ID: <mvmv9qgb3a6.fsf@suse.de> (raw)
In-Reply-To: <83woaw432r.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 16 Dec 2019 19:01:32 +0200")
On Dez 16 2019, Eli Zaretskii wrote:
>> From: Andreas Schwab <schwab@suse.de>
>> Cc: emacs-devel@gnu.org, Alexander Shukaev <emacs@Alexander.Shukaev.name>
>> 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.
Emacs can have multiple controlling terminals, if there are multiple
terminals.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
next prev parent reply other threads:[~2019-12-16 17:15 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-16 4:00 Daemon/Client, Multiple Terminals, and `tty-erase-char' Alexander Shukaev
2019-12-16 5:19 ` Eli Zaretskii
2019-12-16 5:57 ` Alexander Shukaev
2019-12-16 15:30 ` Eli Zaretskii
2019-12-16 15:51 ` Alexander Shukaev
2019-12-16 16:02 ` Andreas Schwab
2019-12-16 16:36 ` Alexander Shukaev
2019-12-16 17:01 ` Eli Zaretskii
2019-12-16 17:15 ` Andreas Schwab [this message]
2019-12-16 17:44 ` Eli Zaretskii
2019-12-16 18:17 ` Andreas Schwab
2019-12-16 18:29 ` Eli Zaretskii
2019-12-16 19:19 ` Andreas Schwab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=mvmv9qgb3a6.fsf@suse.de \
--to=schwab@suse.de \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=emacs@Alexander.Shukaev.name \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.