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.