[NTLUG:Discuss] Customizing terminal characteristics

Leroy Tennison leroy_tennison at prodigy.net
Wed Nov 1 00:14:41 CST 2006


I'm using bash as my shell and would prefer that Ctrl-LeftArrow key 
sequence perform a "move to beginning of previous word" and 
Ctrl-RightArrow a "move to beginning of next word".  It appears from 
'man bash' that the readline library is used for handling keyboard input 
and that the file named by the INPUT shell environment variable 
(/etc/inputrc for my system) can contain "key: action" bindings.

I'm assuming I need to edit this file to make the desired changes, correct?

I know what to use to identify the Control and Alt keys, what do I use 
to identify the left and right arrow keys?

Thanks for any input.



More information about the Discuss mailing list