From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel,gmane.comp.lib.ncurses.bugs Subject: Re: Emacs difficulties in linux console with ncurses-6.3 caused by kcbt=\E^I. Date: Fri, 06 May 2022 07:26:04 -0400 Message-ID: References: <20220506000102.GA10144@prl-debianold-64.jexium-island.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9117"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Alan Mackenzie , bug-ncurses@gnu.org, emacs-devel@gnu.org To: Thomas Dickey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 06 13:28:30 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nmw8L-00026a-JO for ged-emacs-devel@m.gmane-mx.org; Fri, 06 May 2022 13:28:29 +0200 Original-Received: from localhost ([::1]:56368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmw8K-000644-4G for ged-emacs-devel@m.gmane-mx.org; Fri, 06 May 2022 07:28:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmw6G-0004k3-J1; Fri, 06 May 2022 07:26:21 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:31796) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmw6C-0004gU-Hm; Fri, 06 May 2022 07:26:19 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id A4D1B10029F; Fri, 6 May 2022 07:26:13 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 3320A10012C; Fri, 6 May 2022 07:26:12 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1651836372; bh=epWlRyGPc06crr4NHHtyGJfBHMN7/ISA9bY2Ed42Abg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=hElwwgh+w3M1tM3jpTjvJ6J9qmp9tcoXsntaarlGfagfEP87ApTUajZAoYsISexcV lJnBHR6PUVSNLnMqU1w3IIpMVfA7aEDcWVxFi8izkOGmtMOTINQFBC5BDa9Sa5I4IP tyXj2njvEbyIKod14U7H++F7jBtgQW1wo47dmxa2pLZaMK8OqYaCBTX3V1VTdaRiGJ feTQnAy5vBYPLwx5QxKj5LHdlXvjy19vfCQPdOmsDFi7OzgCSN31tebyMaImu77plj GfI9j2mJi/+OQTHdDfYJpuzhrN2yg8iPQ25Ud1JMVSeky92XOARgdtAVn4aFE4al7m WqMTp290dNF+Q== Original-Received: from pastel (unknown [45.72.221.51]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 02D931204CC; Fri, 6 May 2022 07:26:11 -0400 (EDT) In-Reply-To: <20220506000102.GA10144@prl-debianold-64.jexium-island.net> (Thomas Dickey's message of "Thu, 5 May 2022 20:01:02 -0400") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:289309 gmane.comp.lib.ncurses.bugs:8543 Archived-At: > A bug report got me to verify this, and > shift-tab on the console appeared to send that sequence, > so I documented it in the terminal description. The problem is that both Alt-TAB and Shift-TAB send that same byte sequence, so claiming that ESC TAB is `backtab` is not really correct. It may be `backtab` but it may be Meta-TAB as well. > commit 0baa7f071e79bb700b62b1f8507630387cbc4bbb > Author: Alexey Gladkov > Date: Tue May 8 22:55:07 2007 +0400 > > Apply patchkbd-1.12-Meta-Tab.diff from SUSE > > Convert Shift Tab to Meta_Tab > > Signed-off-by: Alexey Gladkov Interesting. So it looks like the intent of the change was to make Shift-TAB behave as another Meta-TAB, whereas with the ncurses change the end result is that Shift-TAB was changed to `backtab` (rather than Meta-TAB) and Meta-TAB was made "impossible" to input. Stefan