unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Alan Mackenzie <acm@muc.de>
Cc: emacs-devel@gnu.org
Subject: Re: emacs-28 1d012e0a62: Linux console: don't translate ESC TAB to `backtab' in input-decode-map.
Date: Sun, 08 May 2022 08:40:12 -0400	[thread overview]
Message-ID: <jwvk0awyzea.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20220508114205.E6A2EC05822@vcs2.savannah.gnu.org> (Alan Mackenzie's message of "Sun,  8 May 2022 07:42:04 -0400 (EDT)")

> +keycode  15 = Tab
> +        alt     keycode  15 = Meta_Tab
> +        shift keycode 15 = F219
> +string F219 = "\033[4}\011"      # Shift+<tab>
> +
> +After possibly saving this file under a different name, compress it
> +again using gzip.  Amend /etc/conf.d/keyamps, etc., if needed.
> +Further details can be found in the man page for loadkeys.
> +
> +Then add the following line near the start of your site-start.el or
> +.emacs or init.el file:
> +
> +(define-key input-decode-map "\e[4}\t" 'backtab)

Even better would be to adjust the ncurses database ;-)
Does ncurses support such local customizations?
[ The last time I did something like that was *many* years ago, and
  I had to make my own copy of the relevant terminfo file, rather than
  being able to reuse the existing terminfo file for the rest of the
  definition.  ]


        Stefan




           reply	other threads:[~2022-05-08 12:40 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20220508114205.E6A2EC05822@vcs2.savannah.gnu.org>]

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=jwvk0awyzea.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=acm@muc.de \
    --cc=emacs-devel@gnu.org \
    /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).