GNU bug report logs - #2772
23.0.91; emacsclient loses keybindings after terminal suspend/resume under screen

Previous Next

Package: emacs;

Reported by: Jakob Krainz <jakob <at> hawo.stw.uni-erlangen.de>

Date: Tue, 24 Mar 2009 23:15:04 UTC

Severity: normal

Tags: unreproducible

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2772 in the body.
You can then email your comments to 2772 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2772; Package emacs. (Tue, 24 Mar 2009 23:15:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jakob Krainz <jakob <at> hawo.stw.uni-erlangen.de>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 24 Mar 2009 23:15:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Jakob Krainz <jakob <at> hawo.stw.uni-erlangen.de>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.91; emacsclient loses keybindings after terminal suspend/resume under screen
Date: Wed, 25 Mar 2009 00:07:29 +0100 (CET)
When I start "emacsclient -t" under GNU screen,
then suspend it (with C-z) and resume again, it stops
understanding the arrow keys.

Instead it starts echoing error messages like
M-[ b is undefined

The value of $TERM is:
$ echo $TERM
screen


In GNU Emacs 23.0.91.1 (i386-unknown-freebsd7.1)
 of 2009-03-22 on ente.hawo.stw.uni-erlangen.de
configured using `configure  '--with-x-toolkit=no' '--without-x' '--prefix=/home/jakob/emacs' '--enable-asserts' '--without-dbus' 'CFLAGS=-O -pipe -march=pentium4 -g' 'LDFLAGS=-L/usr/pkg/lib' 'CPPFLAGS=-I/usr/pkg/include''

Important settings:
  value of $LC_ALL: de_DE.UTF-8
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: de_DE.ISO8859-15
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Info

Minor modes in effect:
  show-paren-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#2772; Package emacs. (Sun, 03 Jun 2018 23:58:01 GMT) Full text and rfc822 format available.

Message #8 received at 2772 <at> debbugs.gnu.org (full text, mbox):

From: Robert Cochran <robert-emacs <at> cochranmail.com>
To: 2772 <at> debbugs.gnu.org
Subject: Re: 23.0.91;
 emacsclient loses keybindings after terminal suspend/resume under
 screen
Date: Sun, 03 Jun 2018 16:57:44 -0700
> When I start "emacsclient -t" under GNU screen,
> then suspend it (with C-z) and resume again, it stops
> understanding the arrow keys.
> 
> Instead it starts echoing error messages like
> M-[ b is undefined

I was unable to reproduce this with

GNU Screen 4.06.02
GNU Emacs 27.0.50 (build 1, x86_64-redhat-linux-gnu, X toolkit, Xaw3d scroll bars) of 2018-06-03

I was able to suspend the emacsclient, and then 'fg' it again. Arrow
keys were behaving as expected.

> The value of $TERM is:
> $ echo $TERM
> screen

Likewise here, FWIW.

-- 
~Robert Cochran

GPG Fingerprint - BD0C 5F8B 381C 64F0 F3CE  E7B9 EC9A 872C 41B2 77C2




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#2772; Package emacs. (Mon, 04 Jun 2018 00:15:02 GMT) Full text and rfc822 format available.

Message #11 received at 2772 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: Robert Cochran <robert-emacs <at> cochranmail.com>
Cc: 2772 <at> debbugs.gnu.org, Jakob Krainz <jakob <at> hawo.stw.uni-erlangen.de>
Subject: Re: bug#2772: 23.0.91;
 emacsclient loses keybindings after terminal suspend/resume under
 screen
Date: Sun, 03 Jun 2018 20:14:13 -0400
tags 2772 + unreproducible
quit

Robert Cochran <robert-emacs <at> cochranmail.com> writes:

> I was unable to reproduce this with
>
> GNU Screen 4.06.02
> GNU Emacs 27.0.50 (build 1, x86_64-redhat-linux-gnu, X toolkit, Xaw3d scroll bars) of 2018-06-03
>
> I was able to suspend the emacsclient, and then 'fg' it again. Arrow
> keys were behaving as expected.

I couldn't reproduce with Emacs 24.3 (oldest Emacs I have), and screen
4.05.00 either.

(I put the OP on cc, on the off chance they're still reachable after so
long)





Added tag(s) unreproducible. Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 04 Jun 2018 00:15:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#2772; Package emacs. (Mon, 04 Jun 2018 02:38:02 GMT) Full text and rfc822 format available.

Message #16 received at 2772 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: 2772 <at> debbugs.gnu.org, jakob <at> hawo.stw.uni-erlangen.de,
 robert-emacs <at> cochranmail.com
Subject: Re: bug#2772: 23.0.91;
 emacsclient loses keybindings after terminal suspend/resume under
 screen
Date: Mon, 04 Jun 2018 05:36:42 +0300
> From: Noam Postavsky <npostavs <at> gmail.com>
> Date: Sun, 03 Jun 2018 20:14:13 -0400
> Cc: 2772 <at> debbugs.gnu.org, Jakob Krainz <jakob <at> hawo.stw.uni-erlangen.de>
> 
> Robert Cochran <robert-emacs <at> cochranmail.com> writes:
> 
> > I was unable to reproduce this with
> >
> > GNU Screen 4.06.02
> > GNU Emacs 27.0.50 (build 1, x86_64-redhat-linux-gnu, X toolkit, Xaw3d scroll bars) of 2018-06-03
> >
> > I was able to suspend the emacsclient, and then 'fg' it again. Arrow
> > keys were behaving as expected.
> 
> I couldn't reproduce with Emacs 24.3 (oldest Emacs I have), and screen
> 4.05.00 either.
> 
> (I put the OP on cc, on the off chance they're still reachable after so
> long)

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.




Reply sent to Stefan Kangas <stefan <at> marxist.se>:
You have taken responsibility. (Wed, 21 Aug 2019 15:30:02 GMT) Full text and rfc822 format available.

Notification sent to Jakob Krainz <jakob <at> hawo.stw.uni-erlangen.de>:
bug acknowledged by developer. (Wed, 21 Aug 2019 15:30:02 GMT) Full text and rfc822 format available.

Message #21 received at 2772-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 2772-done <at> debbugs.gnu.org, robert-emacs <at> cochranmail.com,
 jakob <at> hawo.stw.uni-erlangen.de, Noam Postavsky <npostavs <at> gmail.com>
Subject: Re: bug#2772: 23.0.91; emacsclient loses keybindings after terminal
 suspend/resume under screen
Date: Wed, 21 Aug 2019 17:29:10 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Noam Postavsky <npostavs <at> gmail.com>
>> Date: Sun, 03 Jun 2018 20:14:13 -0400
>> Cc: 2772 <at> debbugs.gnu.org, Jakob Krainz <jakob <at> hawo.stw.uni-erlangen.de>
>>
>> Robert Cochran <robert-emacs <at> cochranmail.com> writes:
>>
>> > I was unable to reproduce this with
>> >
>> > GNU Screen 4.06.02
>> > GNU Emacs 27.0.50 (build 1, x86_64-redhat-linux-gnu, X toolkit, Xaw3d scroll bars) of 2018-06-03
>> >
>> > I was able to suspend the emacsclient, and then 'fg' it again. Arrow
>> > keys were behaving as expected.
>>
>> I couldn't reproduce with Emacs 24.3 (oldest Emacs I have), and screen
>> 4.05.00 either.
>>
>> (I put the OP on cc, on the off chance they're still reachable after so
>> long)
>
> 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.

I can't reproduce this either (arrow keys were working) with the given
recipe on:

GNU Emacs 27.0.50 (build 40, x86_64-pc-linux-gnu, X toolkit, Xaw
scroll bars) of 2019-08-08
Screen version 4.06.02 (GNU) 23-Oct-17

Since there's been no update in over a year, I'm guessing that it'll
be hard to make further progress here.  I'm therefore closing this
bug.  If anyone can reproduce this, please re-open the bug.

Thanks,
Stefan Kangas




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 19 Sep 2019 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 334 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.