This board is now closed. The Blackhole image ended in 2020. The board will remain available in Read Only Mode, so all the posts from the last 15+ years are not lost. We thank you for being part of the community for the last 15+ years. You can join the OpenBh board if you have not already done so at www.openbh.net.

Control left and right don't work in CLI

fta

Vu+ Newbie
I know this is a minor issue, but if you are used to jumping words backward and forward using Control+Left and Control+Right in the CLI (Command Line Interface) throughout Linux, in Ubuntu, in Archlinux, in OpenWrt, everywhere, and you can't in OpenBH (4.3), you ask yourself, why?
If you try you end up with ;5C and ;5D on the output, and no jumps.
Is there any way to configure bash to do this?
 
I found it already. Just add:

Code:
"\e[1;5C": forward-word
"\e[1;5D": backward-word

to /etc/inputrc. There are a few commented out mappings for word moving already. Just paste these lines there somewhere.
 
Back
Top