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: Tue, 24 Aug 2021 11:17:41 +0200 Message-ID: <20210824091741.heeyge3xhufujkd7@Ergus> References: <20210819024728.kgnf6jmpakqdto4p.ref@Ergus> <20210819024728.kgnf6jmpakqdto4p@Ergus> <87mtp71i4s.fsf@mail.linkov.net> <20210824081906.lg2qt4z2snhaxnjv@Ergus> <20210824083433.GC17209@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="8919"; 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 Tue Aug 24 11:19:26 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 1mISac-0001v2-5P for ged-emacs-devel@m.gmane-mx.org; Tue, 24 Aug 2021 11:19:26 +0200 Original-Received: from localhost ([::1]:55490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mISaa-0007yq-Of for ged-emacs-devel@m.gmane-mx.org; Tue, 24 Aug 2021 05:19:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mISZS-0006Y9-2C for emacs-devel@gnu.org; Tue, 24 Aug 2021 05:18:15 -0400 Original-Received: from sonic314-15.consmr.mail.bf2.yahoo.com ([74.6.132.125]:42426) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mISZO-0007Xi-Fz for emacs-devel@gnu.org; Tue, 24 Aug 2021 05:18:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1629796688; bh=Oql7i8a7QzE3Rvmz+81FrV3XfKLVzRdqd+hQPlROlK8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To; b=C10OwKCc/H1uDNK3DeD43QQr60uE4E/N+rLsPK6F/B25KO8pL1WLjf87d1hAzHVFonJLWQVeXUGVn0K7OLb3lmlzOSKOzJMfn7fwTgUnazN7f4GtxtcgbuU56qdbB0fiMIhD8CtXet84MD0Sw61wog3dNdRMbvole/jzK85d2zih/09xCOHdSdmwPjEs/eAuswDOVk/b4yL379SykQDVXqBVahqAy5PEND0Kb+1TzAudEM7KWQJf5VnWiXu4EU7Nc0iM3cOQK5VXc3J71j2SLQY0IRKI2lh5zQUIDamVj1fodBheDi8PM6S0TenD2qvyatCeEEr/Zfn1gCFuwhxCkA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1629796688; bh=ckl9DSjYP3Emd6p8dcVWS84xb52FQxr21pkMNIP8LEO=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=BBjfWjF6WfpqUxvyKTkS1ATuBTmRdiuqNjv0dT9tw3EvBZHPMcr7QMyFT78USM3wcZyJ6toUwWEH6XMRrBUPyIpPGrbnvP8NLRxh+TJaSFzFFIJhUQwxrQ4apIHp2IivKCro6W5da9L+QWZ6bHI9QfNpxPcFDlrCtKCwCbw4b55UVLkwoSNoSL1tjwUXQ3DRJgIyQQydZBna1V9B9d8MDHJilTMsbvd4iZBAPeQP8UVMTUOUhhkI3vvet0lALT/sKn3pqadJYHN08EbzJ+rAIHu8aogH/k3c50ye6nZNnfmASt6Z2bjAoNsIhenuu05TByOoWLxUSdRNmGwg+reHtA== X-YMail-OSG: ZAcV248VM1mQyHzVC5waKcgfbRoMIaABDe.t31j_TzX4dQRHdH8mhBVFHesXN.r NcJtcJT.mdjhgyQ75bJSv4sgxJPdlPhW5D9cBhaJJZzKCX.BsfO45Zup1mwHcGWXElGTpsHB19LV MfLAuqH3Quzs6codvT8I.l4slptPkAd71PhX9mzMzuCb7sc.2KT1qDAcduWZ4dEMrfM33YlHmEJ6 d7tCeVQ7JuDf4cg7CwFhSs7RXIg6y0GKWpGArun7W2Kxi2mo31fN7W48U1jEY9.5DVujXnc7EyRe Zd0dlLaDWcTpJ2iv3.aogw.5JnlSN90lh3xAGHOPUER2TleCYJqIwmNdoCQ8qwr6uGAmtav04zqA wm1FzabOM9qqBPRpRCuBUVm.o_fwwyLustc.sZqCkAXbW.kjhK9atzubdxHkWtyDPV0nHx9wswkS gvGNT5lpWCZCqUIuPI6TE8IHhU8oHNP36RY2cenZA9uat.uiR1ghpRgv3Y.5GDeSFRRhlRHn6wGZ hCgsfLiMr7lS0HPFckQkQb4RfLd7UKGSFG9bdRCma3RPFx0g_sECwk8YF57FyWLLJOi9ZS.bKYep qYzsE6cLZ9NaiGK9l4CIc4ciY0LPHozNLlcQCq6zsUuTxNQcolxbH14.gpo46uEf2yY7parrm1O2 TzlOT6wxmYoVaqA5MgfKnY9TYUjHTR.VDTHG6gVbBro7NbmQTPJ.Twob8Q5FukZ4_kwAnkE2B_QG PfvEzNz6.G557sEWyz6hEZ0KkGaEWr7PPXTZ7jb2bhMbLlvj5wNFCnlpz5a_kxbHAh1.Y5UE3QaP BE19Os.kBFT3w8w70bQoN998_cyZp8Nr.YqHmvR0Wa X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.bf2.yahoo.com with HTTP; Tue, 24 Aug 2021 09:18:08 +0000 Original-Received: by kubenode509.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID f7a4b16a4d37e458261f0ce8dce3d0b8; Tue, 24 Aug 2021 09:18:05 +0000 (UTC) Content-Disposition: inline In-Reply-To: <20210824083433.GC17209@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.132.125; envelope-from=spacibba@aol.com; helo=sonic314-15.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:272901 Archived-At: On Tue, Aug 24, 2021 at 10:34:33AM +0200, tomas@tuxteam.de wrote: >On Tue, Aug 24, 2021 at 10:19:06AM +0200, Ergus wrote: >> On Tue, Aug 24, 2021 at 09:37:23AM +0300, Juri Linkov wrote: >> >* Gregor Zattler [2021-08-23; 20:35]: >> >>>I don't actually know about any keyboard with a print >> >>>button... >> >> >> >>wouldn't that be the PrtSc key which is on every standard PC >> >>keyboard right of F12 and above of Insert? >> >> >> >>>But I suppose there should be some. If someone has it; >> >>>please could you check with xev and cat+xterm what it >> >>>sends? >> >> >> >>Said key gives via cat on xterm: >> >> >> >>^[[2~ >> >> >> >>and xev says the same. >> >> >> >>on debian buster, that is. >> > >> >I have the PrtSc key that prints the screen, >> >but no Menu key, so can't confirm, sorry. >> > >> I don't think there is a [print] key anymore anywhere... "PrtSc" is >> something else and in general never should reach emacs because it is >> intended to take screenshots; so the desktop or window manager should >> intercept it before. > >It's a key as any other key too. For those using refurbished hardware >it's not as uncommon as you might think. > >I remap it to whatever seems useful (but then, I remap also caps lock, >because I deem it useless, so I'm weird ;-) > >Cheers > - t Then if you have it, could you tell what escape sequence it sends throw Xterm by default? If you could do the same with urxvt will be very nice ;) So we could rebind "\e[29~" to [menu] as it should; and whatever sequence Print sends to [print]. Someone mentioned that PrtSc sends "\e[2~" is it different from the sequence sent by your Print key? Thanks in advance, Ergus.