From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: xterm [menu] key definition Date: Wed, 25 Aug 2021 11:04:33 +0200 Message-ID: <20210825090433.qbjcwa5stari7wwo@Ergus> References: <20210819024728.kgnf6jmpakqdto4p.ref@Ergus> <20210819024728.kgnf6jmpakqdto4p@Ergus> <87mtp71i4s.fsf@mail.linkov.net> <20210824081906.lg2qt4z2snhaxnjv@Ergus> <20210825063846.GA11313@tuxteam.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13561"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: tomas@tuxteam.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 25 11:06:09 2021 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 1mIorI-0003Eu-5p for ged-emacs-devel@m.gmane-mx.org; Wed, 25 Aug 2021 11:06:08 +0200 Original-Received: from localhost ([::1]:53296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mIorG-0003CN-M2 for ged-emacs-devel@m.gmane-mx.org; Wed, 25 Aug 2021 05:06:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mIoqJ-0002Ri-Tx for emacs-devel@gnu.org; Wed, 25 Aug 2021 05:05:07 -0400 Original-Received: from sonic313-13.consmr.mail.bf2.yahoo.com ([74.6.133.123]:34996) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mIoqH-0001yp-UR for emacs-devel@gnu.org; Wed, 25 Aug 2021 05:05:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1629882303; bh=B8wH+1rD886qiwIMMd9YeiFQ3UU5uzH5YsFsAVo7png=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To; b=D6STkfGUTCpri7kpb9e5S1yb697OlJVPVkcILvUX8BSTj1otUXnZ8QsA1qe0OGqwObtIolCFWLTuOV/wyAogu840Qgr/+Xkjv5dV5Xz7KV9DXx8PRN5uHK2Nbt1ufcN5/6zQvUie0Pub/W4X0leAjrdrHzT3VoeTKlajFj1QtkNoM50sPzuoOOxLT0+Hhu7ZcM9Yfr+vFDzSLEIJaWs9mZ+mvRfZWgrLH/MNC9qFQn31TdRIYjapnYzhuihATsKChKtWr/En4KSgCYtm+5lC6Yh0qI51ZdNK4kfPqJHqHKxv2KqFPkOl9NsADSFU6Clv5MHXZ3E+eeTAZzxKxATp5Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1629882303; bh=NlSEEkEMc7O5apaZG/4yTkt6e6MHCLiJt2uWFoujOF5=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=TneqJgp33YpiTC4oy4pvcME4wfE+LJZy3cqwC4c0g7xPok1Imu6yhGuOSfpBrqyPda3c19u0Iqb4brk8qRrb9sEuXdicmoE9RSNpv6AGSa8ee9UW8OSQXD6yk4qonbVeEw2SlMQHB5T/q99MRdQDG/DbQ18NfQMpj+p/dI+lAZmB6545yqKK8OA1YSVKrCx5kWZrsMRNunJnhTZVc6Qe3wX3Ypf5KdqLDyZPuOUsJtBEA48bAEola1t0DoUXFKFlORpPJzdL9nSS/P1xR0JYwqJ0nDwBrEfQ0bpj3yAYpCH3RMTsiWBAJZtApH/toTgNUT1xKkkkQzY98hukdBEc3w== X-YMail-OSG: C65LxvkVM1knyCvO0FfGzB9mrCAwQX_F7eHGYmAiJiwnM6lkkqDhR8vK4x9PW1f MZ2BJdUg5vP3AX9LCWEfQJDoSfWlM8..8Il1kFhj5g8l4SXCv50voqmhTup2QZI7bl93qr.MgNGw B_JTMXNwc4BDLL4yRUIuJgbq1dP1ghIPebqKzoEqgBOa6uw9ryO_rRcw9qkWpjC1RT_eWCv47pb5 pA6QqE2vAZj1wVnn7Oe2yAZtzZ9Yg376yKL_hu11ZIsP0tK.jv4xjnUR6aol6RFKW6nOswVyrPkK KiVSgLbfdl28_r69Y8ElmfHB_qXZNI4l7rokuBoTUb2P0vr6LZ9TFtNYH4xHsLE95l1h_gQJSXbp gNfuv8GbqixSWcqTo57wesnv3I6uAyqgXbEt8AYlhYQ2yHjgBoRoydII3azVgelZv8LmVs1rPXWB ZRDwlIAhhqyaXEzu8flS7oSClQnsFGiRAflfWXty7Fjz7fHDMht_DCLjlsvVbVKTYWSDCceRMsJA jnOR8EIEsE4sOhdP6f9bF9XTWd22PLwY_097utVwm7LsWml9K6F0f06iseYWtEhs9ALKusS3jksi 8aQk2XcQtty.2pdBwRQ2zpst98VGr5vYJfP22z45QIpJllxkh10K9PS2RmGWkXTwI830LwDkQzKi 7nso5z6jd6gKeAPodH6soKswz.LpdwBMit9mf462nyzbbeNb5ADxj75My6wLDe691KQMsC2bYxG3 fZtmN26uMTOojTjTTS85iUt0vMP08oZRgJ8_JofQ1yBRJMNjYwT5eVb57POfwSQ7z4w3M24coqq1 6WdaCPrEAd1buZ6eHP1QUGG_upfnTWqpUOxrhPdk60 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.bf2.yahoo.com with HTTP; Wed, 25 Aug 2021 09:05:03 +0000 Original-Received: by kubenode519.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 84d8a41f36f074ee7adf15bed48928d6; Wed, 25 Aug 2021 09:04:57 +0000 (UTC) Content-Disposition: inline In-Reply-To: <20210825063846.GA11313@tuxteam.de> X-Mailer: WebService/1.1.18906 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.133.123; envelope-from=spacibba@aol.com; helo=sonic313-13.consmr.mail.bf2.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:272951 Archived-At: On Wed, Aug 25, 2021 at 08:38:46AM +0200, tomas@tuxteam.de wrote: >On Tue, Aug 24, 2021 at 06:05:46PM -0400, Stefan Monnier wrote: >> > I think that definitively "\e[29~" may be bound to [menu] in >> > xterm. Somehow confirmed by the xterm maintainer in an email: >> > >> > "in a quick check the key which I guessed is "menu" (between the Windows >> > key and the Ctrl key on the right-side of my keyboard) does send ^[[29~ >> > and xev says that's "Menu"" >> >> I'm sorry but I don't understand this. Maybe I'm just missing some of >> the context in your email exchange, but the way it's written above gives >> the impression that something external to xterm decides which byte >> sequence to send when the `menu` or `print` key are used, whereas this >> decision is made by xterm (partly influenced by things like >> X resource settings). > >The latter was my point: it's exactly xterm (or whatever X terminal >application you are using) which (possibly) converts X events to >escape sequences. > >In the case of xterm this can be configured via X resources. > The idea is to be compatible with whatever xterm does by default right? When there is not configuration either in xresources or in init.el. >> FWIW, in my environment, I have a key labeled `PrtSc` which `xev` says >> sends a `Print` event to X11, which `emacs` says sends a `print` event, >> and which `emacs --nw` running inside `xterm` doesn't receive at all >> (i.e. my `xterm` doesn't send any bytes in response to it). > >Yes, that corresponds to my findings. I guess the "Print" key was not >a thing whenever the X resources for xterm were set up and nobody has >bothered to change them in the mean time. > >Cheers > - t