The actual associations of keys and their tasks,along with global settings, are specified in the /etc/inputrc file. The editing capabilities of the BASH shell command line are provided by Readline, which supports numerous editing operations. You can even bind a key to a selected editing operation.Readline uses the /etc/inputrc file to configure key bindings. This file is read automatically by your /etc/profile shell configuration file when you log in . You can customize your editing commands by creating an .inputrc file in your home directory (this is a dot file). It
may be best first to copy the /etc/inputrc file as your .inputrc file and then edit it. /etc/profile will first check for a local .inputrc file before accessing the /etc/inputrc file. You can find out more about Readline in the BASH shell reference manual at www.gnu.org/software/bash/manual/.
NB : verified on ubuntu 8.04.1
No comments:
Post a Comment