From debbugs-submit-bounces@debbugs.gnu.org Wed May 04 12:44:25 2016 Received: (at submit) by debbugs.gnu.org; 4 May 2016 16:44:25 +0000 Received: from localhost ([127.0.0.1]:38052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axzuS-0001RA-KM for submit@debbugs.gnu.org; Wed, 04 May 2016 12:44:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axzWI-0000nh-0Z for submit@debbugs.gnu.org; Wed, 04 May 2016 12:19:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axzVt-00009O-AL for submit@debbugs.gnu.org; Wed, 04 May 2016 12:19:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39597) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axzVt-00008W-7M for submit@debbugs.gnu.org; Wed, 04 May 2016 12:19:01 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axzVh-0000bB-9v for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 12:18:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axzVS-0008Tt-H3 for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 12:18:41 -0400 Received: from julien.palard.fr ([62.210.178.84]:41515 helo=mandark.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axzVS-0008R4-97 for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 12:18:34 -0400 Received: from mandark.fr (localhost [127.0.0.1]) by filter.mynetwork.local (Postfix) with ESMTP id 358BA29C3018 for ; Wed, 4 May 2016 18:18:17 +0200 (CEST) Received: from [10.1.189.198] (unknown [163.5.68.3]) by mandark.fr (Postfix) with ESMTPSA id DE3B529C1253 for ; Wed, 4 May 2016 18:18:14 +0200 (CEST) To: bug-gnu-emacs@gnu.org From: Julien Palard Subject: 24.5; Lossing DECCKM application sequences on "fg" Message-ID: <572A20C6.40008@palard.fr> Date: Wed, 4 May 2016 18:18:14 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 04 May 2016 12:44:24 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Hi, 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) Configured using: `configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp --with-x=no --without-gconf --without-gsettings 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-z,relro' Important settings: value of $LC_ALL: en_US.utf8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: global-company-mode: t company-mode: t global-flycheck-mode: t flycheck-mode: t icomplete-mode: t show-paren-mode: t tooltip-mode: t electric-indent-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-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 Recent messages: Quit M-[ c is undefined [2 times] M-[ d is undefined M-[ c is undefined Quit call-interactively: Symbol's value as variable is void: Warning M-[ d is undefined M-[ c is undefined [2 times] M-[ d is undefined M-[ c is undefined Load-path shadows: /usr/share/emacs/24.5/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs24/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/24.5/lisp/textmodes/flyspell /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/24.5/lisp/textmodes/rst /usr/share/emacs24/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/24.5/lisp/textmodes/ispell Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils windmove mule-util xterm warnings company-files company-oddmuse company-keywords company-gtags company-dabbrev-code company-dabbrev company-capf company-cmake company-ropemacs company-xcode company-clang company-semantic company-eclim company-template company-css company-nxml company-bbdb company-jedi jedi-core python-environment epc ctable concurrent deferred company-etags etags ring company solarized-theme solarized-definitions flycheck regexp-opt find-func help-mode rx subr-x seq dash icomplete info tool-bar easymenu cl-macs package epg-config time-date paren footnote edmacro kmacro cl gv cl-loaddefs cl-lib tooltip electric uniquify ediff-hook vc-hooks lisp-float-type tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify multi-tty emacs) Memory information: ((conses 16 170938 7052) (symbols 48 24321 1) (miscs 40 47 144) (strings 32 34351 4678) (string-bytes 1 910734) (vectors 16 15367) (vector-slots 8 408448 2523) (floats 8 86 337) (intervals 56 250 123) (buffers 960 12) (heap 1024 23206 943)) -- Julien Palard http://mdk.fr From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 23 14:04:23 2019 Received: (at 23450) by debbugs.gnu.org; 23 Aug 2019 18:04:23 +0000 Received: from localhost ([127.0.0.1]:41151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i1DvC-0006fO-Jz for submit@debbugs.gnu.org; Fri, 23 Aug 2019 14:04:22 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:36711) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i1DvA-0006ey-Uc for 23450@debbugs.gnu.org; Fri, 23 Aug 2019 14:04:21 -0400 Received: by mail-pg1-f194.google.com with SMTP id l21so6171326pgm.3 for <23450@debbugs.gnu.org>; Fri, 23 Aug 2019 11:04:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=DVg0qJuqNMrwWewtoUK0s6YM2SHakStKXSPsiifCZ+k=; b=P2kjejjIBWpm1lPf5A7TvcVU5S6tTGwx+4rGhHWjk7gf1ogzam8R7ZM0VLvL4mKqNg TqFm1uxf5DTA5pDFpU9C9Y8G/7nsL7/0pSYrjqt5n9Sc0nVrPELz+qm1ceiF8Wn9F9Zh aLii0ObSz2YV8LzJ9i/2arAJCHvAszAXbs1C1HRGCW9jLBe8b3OXrlVA90+cJfO9YSJ2 EVtZvNNlQ7dziRrE28INzfnaSXuiHkfJC1T+J9h56gtK2d++Fj3O2iVal2L2N8MgUzFh wyGFZvw+pdFTa4Cbc8aavzBClMbWRWvT8dT0RP3NpkPQHHAoFoJhghSDesXcXVI3e7WD NuPw== X-Gm-Message-State: APjAAAU13MubTKN+pFtaQT1+haufZOTQT7Igyvh4BTVynqIBfN+U0lSv IkU12bqnnqHUGRlrodUcay2RDjhKZ8Vby7vWnSbSMIe+ X-Google-Smtp-Source: APXvYqy9ZiqN1+GagCB0TYnXePV6P4APv/bWSN3eN6RCGOTP9jhkbgwyU+i5fUhWz2JBFSWWaC9rzZ0CuPklEzNN24o= X-Received: by 2002:a17:90a:17ab:: with SMTP id q40mr6660889pja.106.1566583455172; Fri, 23 Aug 2019 11:04:15 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas Date: Fri, 23 Aug 2019 20:04:03 +0200 Message-ID: Subject: Re: bug#23450: 24.5; Lossing DECCKM application sequences on "fg" To: Julien Palard Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 23450 Cc: 23450@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Julien Palard 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 27 10:03:09 2019 Received: (at 23450) by debbugs.gnu.org; 27 Aug 2019 14:03:09 +0000 Received: from localhost ([127.0.0.1]:49229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i2c3x-0005tY-7w for submit@debbugs.gnu.org; Tue, 27 Aug 2019 10:03:09 -0400 Received: from mail-40132.protonmail.ch ([185.70.40.132]:46656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i2c3v-0005t4-80 for 23450@debbugs.gnu.org; Tue, 27 Aug 2019 10:03:08 -0400 Date: Tue, 27 Aug 2019 14:02:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=palard.fr; s=protonmail; t=1566914579; bh=rfd0M6lZ266cZ5EKppDYyYy0XyCkA73TA0PuSoXxvWc=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References: Feedback-ID:From; b=bU3J+4+VBF8QRmmij6/O9l+Cbjo2BOmC/z7CHYwUopaeJJFfGvSlfOd38X81Z0KqM J+G6enUzCedzAnbVl+sWzSv+SWa7TbdNn2xMatCtUM7A1cukgCZNn2ZlsvtIU8/hkY cj9ihmbOkiMOTTEjPoPBe216hIgfWd5bj7dhxUNI= To: Stefan Kangas From: Julien Palard Subject: Re: bug#23450: 24.5; Lossing DECCKM application sequences on "fg" Message-ID: In-Reply-To: References: Feedback-ID: xLmgcmt-7YcZHfPbKjAcE9hqRIBdgjiY0E9ywet2lByQDdGWgPEkeuia08-XIoVWUINSDzo2_yfT5xLg44friA==:Ext:ProtonMail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.protonmail.ch X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23450 Cc: "23450@debbugs.gnu.org" <23450@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Julien Palard Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > Are you still seeing this problem in a more recent version of Emacs, > preferably the latest version 26.2? No, I stopped using GNU Screen a long time ago, so no fresh reproduction of= this issue, sry. --=C2=A0 Julien Palard https://mdk.fr From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 07 23:36:56 2019 Received: (at 23450) by debbugs.gnu.org; 8 Nov 2019 04:36:56 +0000 Received: from localhost ([127.0.0.1]:44405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSw11-0002cx-Vg for submit@debbugs.gnu.org; Thu, 07 Nov 2019 23:36:56 -0500 Received: from host.gofardesign.uk ([208.79.239.190]:50512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSw0z-0002ci-UX; Thu, 07 Nov 2019 23:36:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=rrbR9BwKoH7uEdw/hvzHqWmQelGVCffMtSO9JWPGrQg=; b=qa9o5JJUVErG8UBuvUZ5iycxVq 96o8PInE6SB/r2f/g9yzkis0UYZJKMrqBPo1sCUkaDDlgQiWgTkTw03/q83/FWG7uFAS2k3vrwjYJ myG3oQW1EdMAlcvIlwAGvIeFL2Wmym6RgMS0MNUrOaJHkyf+G0R4CHeVDNBnlnxaqin8=; Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:51082 helo=localhost) by host.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iSw0t-0005M0-G2; Thu, 07 Nov 2019 22:36:48 -0600 From: Stefan Kangas To: Julien Palard Subject: Re: bug#23450: 24.5; Lossing DECCKM application sequences on "fg" In-Reply-To: (Julien Palard's message of "Tue, 27 Aug 2019 14:02:50 +0000") References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Date: Fri, 08 Nov 2019 05:36:45 +0100 Message-ID: <87d0e3ugpu.fsf@marxist.se> MIME-Version: 1.0 Content-Type: text/plain X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: host.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: host.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 23450 Cc: "23450@debbugs.gnu.org" <23450@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 23450 + unreproducible close 23450 thanks Julien Palard writes: >> Are you still seeing this problem in a more recent version of Emacs, >> preferably the latest version 26.2? > > No, I stopped using GNU Screen a long time ago, so no fresh reproduction of this issue, sry. Thanks. Since it's unlikely that we'll make any progress here without a way to reproduce the bug, I'm closing this bug as unreproducible. Best regards, Stefan Kangas From unknown Sat Jun 21 03:29:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 06 Dec 2019 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator