Re: C-> and C<- does not work in urxvt in tabbed mode - archlinux specific

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



2009/8/10 Angel Velásquez <angvp@xxxxxxxxxxxxxxxx>:
> On Mon, Aug 10, 2009 at 11:37 AM, Aaron Griffin<aaronmgriffin@xxxxxxxxx> wrote:
>> On Mon, Aug 10, 2009 at 9:11 AM, Daenyth Blank<daenyth+arch@xxxxxxxxx> wrote:
>>> On Mon, Aug 10, 2009 at 02:23, Partha Chowdhury<kira.laucas@xxxxxxxxx> wrote:
>>>> you have to use alt+arrow keys instead of ctrl key.
>>>>
>>>
>>> There's no way to set it to use ctrl? Hmm, how odd... It works on
>>> ubuntu, but I can't figure out why.
>>
>> Might be related to inputrc. Can you compare /etc/inputrc on both
>> platforms? What does C-v,C-left and C-v,C-right output in bash on each
>> platform?
>>
>
> Good catch Aaron,
>
> http://pastebin.com/f503c51a there is a default initrc  from an ubuntu
> server install

# mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
"\e[1;5C": forward-word
"\e[1;5D": backward-word
"\e[5C": forward-word
"\e[5D": backward-word
"\e\e[C": forward-word
"\e\e[D": backward-word

So this has nothing to do with urxvt or any other terminal. Ubuntu
adds these keypresses in globally in the system.

If you like these, you can stick them in ~/.inputrc for your user
account. It works for any app using readline.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux