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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Jakob Krainz <jakob@HIDDEN>; Keywords: unreproducible; dated Tue, 24 Mar 2009 23:15:04 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) unreproducible. Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 2772 <at> debbugs.gnu.org:


Received: (at 2772) by debbugs.gnu.org; 4 Jun 2018 00:14:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 03 20:14:24 2018
Received: from localhost ([127.0.0.1]:60697 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fPd8g-0001nK-1V
	for submit <at> debbugs.gnu.org; Sun, 03 Jun 2018 20:14:23 -0400
Received: from mail-io0-f194.google.com ([209.85.223.194]:35723)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>)
 id 1fPd8e-0001n2-Jb; Sun, 03 Jun 2018 20:14:20 -0400
Received: by mail-io0-f194.google.com with SMTP id u4-v6so12282387iof.2;
 Sun, 03 Jun 2018 17:14:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=4DSk5HNTIqXRGdoIGv3zrAL0yDd6gUhfZ9s1nSdegYM=;
 b=L0hE/2Wp3KUEGL5tTe4CMydzSe+GqeERvIYUHh7pnzkmxB+YBG/+eUp3p02Uj+gZ0v
 Aew3yyEKcq5QafXGIDO3HqtgCxBZk0UGkKNHQ6oxZ6oVTEbufGqneY2+aoWAJpCtirRw
 ByOdoIH7PsjX57fVQFQoUVuPejsIvf0N0716GCsMjSoB55RKTTHsYlJ8AM9i9ueDANz+
 f1IiG/C4JEGVQ3osA1wf/TOAKDRDQOwQ8bptnUI3x/C2XGFw2k36IgpQAuQP/gWaj3TS
 IXOcpDrbGC9i1XAahqdEGQ8E8BHCZ4pEFq3Vivf3GlWGPRgYfl91uHVlkb/v/GK3H3hP
 oyzQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=4DSk5HNTIqXRGdoIGv3zrAL0yDd6gUhfZ9s1nSdegYM=;
 b=qIcET48RnyF/g930lJ0FWPadintpw3beVb78pfqEZpLOdQcQlPSlZsDkJ0qbAYkWH3
 LHmJNeDRfhxwcjWiRkR3P8zDv1YUCPHeMghWqA2v3Dw3pyhI/VCnvE5I6N3TD5VP3Jz4
 oXbOvENj08Wp7oL0BEe9GCZx9krtMMc10ZGHwTTmEJb26N7BeJKxGrA1kVRQ7l1UoPiA
 irjokBRrfv8vFUhBmwJ9ohXbVS9DymbhNfs8grp/pj/oi9NhLQt9/56ACSAm8HRhq8GP
 e4iXCB8Z9KWLP4PhHmUNGLIrs2ZxWNlaTqLTW+qQLBC6E0MD+VQXZwi4wjayWGzs8s4E
 RGKA==
X-Gm-Message-State: ALKqPwcYdSIXakhvFBXtgOFMwxF8wmKFKGwn2iSAd+1BpJgcFQEWixm1
 9Fw2jaUsWgB/7KVT6n1zJApnyg==
X-Google-Smtp-Source: ADUXVKJmA87bi4PiPr0Ao2Ec98K1QXa26JKXSaSyIaPuFxvdRlFfHhj4TvEEqNrOtXu2C0RNlDcIyg==
X-Received: by 2002:a6b:b3d6:: with SMTP id
 c205-v6mr20343193iof.93.1528071254983; 
 Sun, 03 Jun 2018 17:14:14 -0700 (PDT)
Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34])
 by smtp.googlemail.com with ESMTPSA id
 g26-v6sm2320547iti.0.2018.06.03.17.14.14
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sun, 03 Jun 2018 17:14:14 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
To: Robert Cochran <robert-emacs@HIDDEN>
Subject: Re: bug#2772: 23.0.91;
 emacsclient loses keybindings after terminal suspend/resume under
 screen
References: <20090324230729.DE10147139@HIDDEN>
 <87wovf2zk7.fsf@HIDDEN>
Date: Sun, 03 Jun 2018 20:14:13 -0400
In-Reply-To: <87wovf2zk7.fsf@HIDDEN> (Robert Cochran's message of
 "Sun, 03 Jun 2018 16:57:44 -0700")
Message-ID: <87in6z8l2i.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.8 (/)
X-Debbugs-Envelope-To: 2772
Cc: 2772 <at> debbugs.gnu.org, Jakob Krainz <jakob@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.8 (-)

tags 2772 + unreproducible
quit

Robert Cochran <robert-emacs@HIDDEN> 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)





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#2772; Package emacs. Full text available.

Message received at 2772 <at> debbugs.gnu.org:


Received: (at 2772) by debbugs.gnu.org; 3 Jun 2018 23:57:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 03 19:57:52 2018
Received: from localhost ([127.0.0.1]:60671 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fPcsi-0001Nq-8E
	for submit <at> debbugs.gnu.org; Sun, 03 Jun 2018 19:57:52 -0400
Received: from vps28183.inmotionhosting.com ([23.235.221.66]:45859)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <robert@HIDDEN>) id 1fPcsg-0001Nd-UH
 for 2772 <at> debbugs.gnu.org; Sun, 03 Jun 2018 19:57:51 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=cochranmail.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:
 Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=lEQ1Azjw0gYHFxH+OK83hUdAaCsLK9P/It46ME0DY9s=; b=Q5MPBk2JuxyvVymdn7mNZRLVN/
 IBgt4RBgBs/9q85pEibpItU+weHRLwZ2h6UVC3lWt7hKlvUYxVWuHkuOpaqvET+P0LnwPwhvKURJW
 ozyYGeVf/JvGbtFasiObYNDkasz1+4q5HMCf/MgPJcYlb15NTL/olHaP+Yk1WJ3ABZI1FgFUDtQTB
 mF8qHVs3iv0eODv4Cab/EuYM7R4+TQRdMpw5NnYtQdV8ni2x2r3Y0OD7w4OdVcwWJKTUSr7l98Exp
 hxs6vtKIfBHQi9Rzj5RhwXGxulOV7VMx3eP7h06pNkbhe9Vd7kPD9aWPNPk4daqdoBrxllezX6TUy
 idsI882A==;
Received: from 131-191-86-130.as.clicknet.org ([131.191.86.130]:42776
 helo=SoraLaptop) by vps28183.inmotionhosting.com with esmtpsa
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91)
 (envelope-from <robert@HIDDEN>) id 1fPcsa-0007mE-NV
 for 2772 <at> debbugs.gnu.org; Sun, 03 Jun 2018 16:57:45 -0700
From: Robert Cochran <robert-emacs@HIDDEN>
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
Message-ID: <87wovf2zk7.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-AntiAbuse: This header was added to track abuse,
 please include it with any abuse report
X-AntiAbuse: Primary Hostname - vps28183.inmotionhosting.com
X-AntiAbuse: Original Domain - debbugs.gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - cochranmail.com
X-Get-Message-Sender-Via: vps28183.inmotionhosting.com: authenticated_id:
 robert@HIDDEN
X-Authenticated-Sender: vps28183.inmotionhosting.com: robert@HIDDEN
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 2772
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


> 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@HIDDEN:
bug#2772; Package emacs. Full text available.

Message received at submit@HIDDEN:


Received: (at submit) by emacsbugs.donarmstrong.com; 24 Mar 2009 23:07:39 +0000
From jakob@HIDDEN Tue Mar 24 16:07:39 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2ON7aBh015239
	for <submit@HIDDEN>; Tue, 24 Mar 2009 16:07:37 -0700
Received: from mail.gnu.org ([199.232.76.166]:59750 helo=mx10.gnu.org)
	by fencepost.gnu.org with esmtp (Exim 4.67)
	(envelope-from <jakob@HIDDEN>)
	id 1LmFiZ-0000Xg-EI
	for emacs-pretest-bug@HIDDEN; Tue, 24 Mar 2009 19:07:35 -0400
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60)
	(envelope-from <jakob@HIDDEN>)
	id 1LmFiX-0006Ui-5F
	for emacs-pretest-bug@HIDDEN; Tue, 24 Mar 2009 19:07:34 -0400
Received: from ente.hawo.stw.uni-erlangen.de ([131.188.24.11]:61144)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <jakob@HIDDEN>)
	id 1LmFiW-0006UK-P9
	for emacs-pretest-bug@HIDDEN; Tue, 24 Mar 2009 19:07:32 -0400
Received: by ente.hawo.stw.uni-erlangen.de (Postfix, from userid 1089)
	id DE10147139; Wed, 25 Mar 2009 00:07:29 +0100 (CET)
From: Jakob Krainz <jakob@HIDDEN>
To: emacs-pretest-bug@HIDDEN
Subject: 23.0.91; emacsclient loses keybindings after terminal suspend/resume under screen
Message-Id: <20090324230729.DE10147139@HIDDEN>
Date: Wed, 25 Mar 2009 00:07:29 +0100 (CET)
X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized.


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





Acknowledgement sent to Jakob Krainz <jakob@HIDDEN>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Report forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#2772; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 4 Jun 2018 00:30:02 UTC

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