unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
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:01:32 +0200	[thread overview]
Message-ID: <83woaw432r.fsf@gnu.org> (raw)
In-Reply-To: <mvm4ky0cl73.fsf@suse.de> (message from Andreas Schwab on Mon, 16 Dec 2019 17:02:56 +0100)

> 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.



  parent reply	other threads:[~2019-12-16 17:01 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 [this message]
2019-12-16 17:15       ` Andreas Schwab
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

  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=83woaw432r.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).