nano-devel
[Top][All Lists]
Advanced

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

[Nano-devel] the deviant escape sequences of urxvt


From: Benno Schulenberg
Subject: [Nano-devel] the deviant escape sequences of urxvt
Date: Mon, 29 Oct 2018 12:05:32 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

Op 25-10-18 om 21:58 schreef David Ramsey:
> <snip .Xresources stuff>
> 
> Is this a common enough problem that it should be in the FAQ?

Probably, yes.  For the Ctrl+Shift+arrows to work, urxvt users
already have to add to their .Xresources file:

  URxvt.keysym.C-S-Up: \033[1;6A
  URxvt.keysym.C-S-Down: \033[1;6B
  URxvt.keysym.C-S-Right: \033[1;6C
  URxvt.keysym.C-S-Left: \033[1;6D

And for the Alt+arrows to work as intended:

  URxvt.keysym.M-Up: \033[1;3A
  URxvt.keysym.M-Down: \033[1;3B
  URxvt.keysym.M-Right: \033[1;3C
  URxvt.keysym.M-Left: \033[1;3D

If nano has to recognize all the double escape sequences that
urxvt generates by default for those key combos, it adds quite
a bit of code, and that for one deviant and non-standard-compliant
terminal...

Benno

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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