emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs-28 1d012e0a62: Linux console: don't translate ESC TAB to `back


From: Stefan Monnier
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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> +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 via email to

[Prev in Thread] Current Thread [Next in Thread]