unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ergus <spacibba@aol.com>
To: tomas@tuxteam.de
Cc: emacs-devel@gnu.org
Subject: Re: xterm [menu] key definition
Date: Wed, 25 Aug 2021 11:04:33 +0200	[thread overview]
Message-ID: <20210825090433.qbjcwa5stari7wwo@Ergus> (raw)
In-Reply-To: <20210825063846.GA11313@tuxteam.de>

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





  reply	other threads:[~2021-08-25  9:04 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210819024728.kgnf6jmpakqdto4p.ref@Ergus>
2021-08-19  2:47 ` xterm [menu] key definition Ergus
2021-08-23 17:53   ` Ergus
2021-08-24  6:37   ` Juri Linkov
2021-08-24  8:19     ` Ergus
2021-08-24  8:34       ` tomas
2021-08-24  9:17         ` Ergus
2021-08-24 10:03           ` Andreas Schwab
2021-08-24 11:00           ` tomas
2021-08-24 15:30             ` Ergus
2021-08-25  7:06               ` tomas
2021-08-25  9:32                 ` Ergus
2021-08-25 10:47                   ` tomas
2021-08-25 11:31                     ` Ergus
2021-08-26  5:47                     ` chad
2021-08-26  7:14                       ` tomas
2021-08-26  8:16                       ` Andreas Schwab
2021-08-24  8:34       ` Andreas Schwab
2021-08-24  9:07         ` Ergus
2021-08-24 22:05       ` Stefan Monnier
2021-08-25  6:38         ` tomas
2021-08-25  9:04           ` Ergus [this message]
2021-08-24 16:40     ` Ergus via Emacs development discussions.
2021-08-24 17:28       ` Eli Zaretskii
2021-08-24 18:09         ` Juri Linkov
2021-08-24 20:23         ` Ergus
2021-08-25 11:27           ` Eli Zaretskii
2021-08-25 11:53             ` Ergus
2021-08-24 22:16       ` Stefan Monnier
2021-08-24 23:20         ` Ergus
2021-08-25  2:53           ` Stefan Monnier
2021-08-25  8:58             ` Ergus
2021-08-25 14:13               ` Stefan Monnier
2021-08-25 11:34             ` Eli Zaretskii
2021-08-25 22:41               ` Stefan Monnier
2021-08-26  6:55                 ` Eli Zaretskii
2021-08-26  7:17                   ` Ergus
2021-08-26  7:23                     ` Eli Zaretskii
2021-08-26 12:52                   ` Ergus
2021-08-26 13:48                     ` Eli Zaretskii
2021-08-26 13:59                   ` Stefan Monnier
2021-08-26 14:51                     ` Andreas Schwab
2021-08-26 15:52                     ` Eli Zaretskii
2021-08-25  7:10           ` tomas
2021-08-25  8:02           ` Andreas Schwab
2021-08-25  6:36         ` Yuri Khan
2021-08-25  7:17           ` tomas
2021-08-25  9:00           ` Ergus
2021-08-25 14:01         ` Olaf Rogalsky
     [not found]   ` <87k0kcovp4.fsf@no.workgroup>
2021-08-25 12:09     ` Gregor Zattler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210825090433.qbjcwa5stari7wwo@Ergus \
    --to=spacibba@aol.com \
    --cc=emacs-devel@gnu.org \
    --cc=tomas@tuxteam.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).