From: Eli Zaretskii <eliz@gnu.org>
To: Andreas Schwab <schwab@suse.de>
Cc: emacs@Alexander.Shukaev.name, emacs-devel@gnu.org
Subject: Re: Daemon/Client, Multiple Terminals, and `tty-erase-char'
Date: Mon, 16 Dec 2019 19:44:09 +0200 [thread overview]
Message-ID: <83sglk413q.fsf@gnu.org> (raw)
In-Reply-To: <mvmv9qgb3a6.fsf@suse.de> (message from Andreas Schwab on Mon, 16 Dec 2019 18:15:13 +0100)
> From: Andreas Schwab <schwab@suse.de>
> Cc: emacs-devel@gnu.org, emacs@Alexander.Shukaev.name
> 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.
next prev parent reply other threads:[~2019-12-16 17:44 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
2019-12-16 17:44 ` Eli Zaretskii [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83sglk413q.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=emacs@Alexander.Shukaev.name \
--cc=schwab@suse.de \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).