From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#54027: Wishlist: Support full CSI u specification for terminal input Date: Mon, 28 Feb 2022 10:25:42 -0500 Message-ID: References: <8335kg1srp.fsf@gnu.org> <83mtieoxpj.fsf@gnu.org> <831qznnq1i.fsf@gnu.org> <83k0dfm81m.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3614"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: alexhutcheson@google.com, 54027@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 28 16:26:17 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1nOhui-0000go-5h for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Feb 2022 16:26:16 +0100 Original-Received: from localhost ([::1]:56110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nOhug-0007aj-HN for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Feb 2022 10:26:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOhuV-0007a9-0b for bug-gnu-emacs@gnu.org; Mon, 28 Feb 2022 10:26:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40673) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nOhuU-0000A1-OX for bug-gnu-emacs@gnu.org; Mon, 28 Feb 2022 10:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nOhuU-0002vt-Av for bug-gnu-emacs@gnu.org; Mon, 28 Feb 2022 10:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Feb 2022 15:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54027 X-GNU-PR-Package: emacs Original-Received: via spool by 54027-submit@debbugs.gnu.org id=B54027.164606195411250 (code B ref 54027); Mon, 28 Feb 2022 15:26:02 +0000 Original-Received: (at 54027) by debbugs.gnu.org; 28 Feb 2022 15:25:54 +0000 Original-Received: from localhost ([127.0.0.1]:34569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOhuM-0002vO-AN for submit@debbugs.gnu.org; Mon, 28 Feb 2022 10:25:54 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:2891) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOhuK-0002vA-KH for 54027@debbugs.gnu.org; Mon, 28 Feb 2022 10:25:52 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id A83E9805CC; Mon, 28 Feb 2022 10:25:46 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 5699D80582; Mon, 28 Feb 2022 10:25:45 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1646061945; bh=vlcxZG1J1B+KCTv5Hza7hgmEGi7j1W+G0j1mwG25lP8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=EDD7eO02NvAME+35Sq8JOGI39IsOEHC06S/NZdwjc0FQI3fXPDXdySDkJ1qA6AZl9 GHDWzRFOYXvjRbi6YscCLt9VCB3rY3YS2pGqfVSvxjDxK4//U3DPdAcO1qP6Z4+63C 09iQVME/tl8qF47oRfGLYCzs/0ZbVpvJG7VlzjDqSfM7HlyHeAEDp3uEE9OE26Lc2j 29KwV+1/IoIqIoAD4wnowME1CfqLRVK9L09gssgNYqURkXYp37RNdlBMGxR4fCy3Ah lxB6bCNRuVne1d4UWmct/dkc7RykDnrEyZM7uz3YqKuAJvgX3Ohr6ebHKVrWY0WTKQ LywRpomdlY7sA== Original-Received: from pastel (unknown [45.72.208.76]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 2D202120F21; Mon, 28 Feb 2022 10:25:44 -0500 (EST) In-Reply-To: <83k0dfm81m.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 28 Feb 2022 15:31:49 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:227827 Archived-At: > Then I must be missing something. Do you mean this part: > > + (while (<= #x30 final #x3F) > + (push final params) ;And read more. > + (setq final (read-char))) > + (while (<= #x20 final #x2F) > + (push final intermediates) > + (setq final (read-char))) > > This doesn't add all the 96 characters with the modifiers, it only > adds the digits and the punctuation characters. The above just reads to "NN;MM" part of the escape sequence which encodes in decimal the Unicode code point MM of the character and the 4bit encoded NN of the modifiers shift, alt, control, and meta. Stefan