From: Stefan Kangas <stefan@marxist.se>
To: Julien Palard <julien@palard.fr>
Cc: 23450@debbugs.gnu.org
Subject: bug#23450: 24.5; Lossing DECCKM application sequences on "fg"
Date: Fri, 23 Aug 2019 20:04:03 +0200 [thread overview]
Message-ID: <CADwFkmkTvHf-ETSFnkCjRG=0DG7rJBr8bL=hN6Kc2eDLCJvckQ@mail.gmail.com> (raw)
In-Reply-To: <572A20C6.40008@palard.fr>
Julien Palard <julien@palard.fr> writes:
> We noticed a bug, we're reproducing it like twice a week but we're still
> unable to reproduce it explicitly, sorry for that.
>
> Bug is: After sending emacs to the background with `C-z` and getting it
> back with `fg`, sometimes, our terminal misses the
> [DECCKM](http://www.vt100.net/docs/vt510-rm/DECCKM.html) flag.
>
> We can easily fix it via `(send-string-to-terminal "\e[?1h")`, so we're
> "sure" that this flag the "missing one", but we have no proof emacs is
> faulty here.
>
> It look like we're not alone:
> http://stackoverflow.com/questions/4548106/screen-somehow-unmaps-my-arrow-keys-in-emacs-after-a-z/37032152
>
> Here, we reproduced it with:
>
> - urxvt, putty, gnome term
> - emacs 24.5.1, emacs 24.4.1
> - GNU screen 4.02.01, 4.03.01, tmux 2.2
> - Debian GNU/Linux 8.4 (jessie)
This sounds a lot like Bug#2772 which was recently closed as unreproducible:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=2772
Maybe we'll have better luck here. One good piece of information that
the old bug lacked is that this is not happening consistently.
Are you still seeing this problem in a more recent version of Emacs,
preferably the latest version 26.2?
If the answer is yes, Eli Zaretskii suggested the following in the
discussion about the old bug report:
> A termscript file with all the keyboard input starting from before the
> suspension, from a system where the problem can be reproduced, could
> give us some hints. See open-termscript.
Could you please provide us with such a termscript file?
Thanks,
Stefan Kangas
next prev parent reply other threads:[~2019-08-23 18:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-04 16:18 bug#23450: 24.5; Lossing DECCKM application sequences on "fg" Julien Palard
2019-08-23 18:04 ` Stefan Kangas [this message]
2019-08-27 14:02 ` Julien Palard via Bug reports for GNU Emacs, the Swiss army knife of text editors
2019-11-08 4:36 ` Stefan Kangas
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='CADwFkmkTvHf-ETSFnkCjRG=0DG7rJBr8bL=hN6Kc2eDLCJvckQ@mail.gmail.com' \
--to=stefan@marxist.se \
--cc=23450@debbugs.gnu.org \
--cc=julien@palard.fr \
/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.