unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: emacs-28 1d012e0a62: Linux console: don't translate ESC TAB to `backtab' in input-decode-map.
       [not found] ` <20220508114205.E6A2EC05822@vcs2.savannah.gnu.org>
@ 2022-05-08 12:40   ` Stefan Monnier
  0 siblings, 0 replies; only message in thread
From: Stefan Monnier @ 2022-05-08 12:40 UTC (permalink / raw)
  To: Alan Mackenzie; +Cc: emacs-devel

> +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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-08 12:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <165201012408.6396.8067711100736391186@vcs2.savannah.gnu.org>
     [not found] ` <20220508114205.E6A2EC05822@vcs2.savannah.gnu.org>
2022-05-08 12:40   ` emacs-28 1d012e0a62: Linux console: don't translate ESC TAB to `backtab' in input-decode-map Stefan Monnier

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).