nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [PATCH] input: erase the next word when Ctrl is held wh


From: Brand Huntsman
Subject: Re: [Nano-devel] [PATCH] input: erase the next word when Ctrl is held while pressing Delete
Date: Tue, 24 Jul 2018 16:26:17 -0600

On Tue, 24 Jul 2018 21:19:24 +0200
Benno Schulenberg <address@hidden> wrote:

> Okay.  But I still get "Unbound key" for <Shift+Up> and <Shift+Down>
> when not using -K on a urxvt.

Shift-arrows work fine for me, even after turning off all urxvt
settings in ~/.Xresources. I don't see any use flags or gentoo patches that 
would make the arrow keys work different than vanilla 9.21. Is your TERM set to 
"rxvt-unicode"?

Shift-Up is ^[[1;2A (B-D for others) on xterm and ^[[a (b-d for others) on 
urxvt. The following will make urxvt produce the same sequences as xterm for 
shift-arrows. 

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

And this produces the sequences I get in urxvt, but I don't rebind any of these 
keys, they just work.

URxvt.keysym.S-Up: \033[a
URxvt.keysym.S-Down: \033[b
URxvt.keysym.S-Right: \033[c
URxvt.keysym.S-Left: \033[d

Unless the following gentoo patch for ncurses has something to do with it. It 
says 5.9 but is also applied to 6.0 and 6.1.

https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-libs/ncurses/files/ncurses-5.9-rxvt-unicode-9.15.patch?id=051ad88caa127419c80d473021ab8909a2268789




reply via email to

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