From c594bf375ffd9de4527c5442743a907f4b32b49d Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Thu, 12 May 2005 20:16:38 +0000 Subject: [PATCH] Tagged inputrc.xml git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4173 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- postlfs/config/inputrc.xml | 96 ++++++++++++++++++++------------------ 1 file changed, 51 insertions(+), 45 deletions(-) diff --git a/postlfs/config/inputrc.xml b/postlfs/config/inputrc.xml index e68bee573b..0b79e6aa18 100644 --- a/postlfs/config/inputrc.xml +++ b/postlfs/config/inputrc.xml @@ -6,55 +6,61 @@ ]> - -$LastChangedBy$ -$Date$ - - -/etc/inputrc - -/etc/inputrc - -~/.inputrc + -Inputrc deals with the mapping of the keyboard for -certain situations. This file is the start-up file used by -readline, the input related library used by -bash and most other shells. + + $LastChangedBy$ + $Date$ + -For more information see info bashNode: Readline Init file as well as -info readline. There is a lot that can be done with this -one rc file. + Introduction to /etc/inputrc -Global values are set in /etc/inputrc. -Personal user values are set in ~/.inputrc. The -~/.inputrc file will override the global settings -file. A later page sets up Bash to use -/etc/inputrc if there is no -.inputrc for a user when -/etc/profile is read (usually at login). If you -want your system to use both, or don't want global -keyboard handling, it is a good idea to place a default -.inputrc into the /etc/skel -directory for use with new users. + + /etc/inputrc + -Below is a base /etc/inputrc along with -comments to explain what the various options do. Note that comments -can not be on the same line as commands. + + ~/.inputrc + -If you will create an .inputrc in -/etc/skel using the command below, change the -command's output to /etc/skel/.inputrc and be -sure to check/set permissions afterward. Then you can just copy that -file to /etc/inputrc and the home directory -of any user already existing in the system, including root, that needs -a private version of the file. Be sure to use the -parameter of cp to maintain permissions and be sure to -change owner and group appropriately. + /etc/inputrc deals with the mapping of the + keyboard for certain situations. This file is the start-up file used by + readline, the input related library used by + bash and most other shells. -cat > /etc/inputrc << "EOF" -# Begin /etc/inputrc + For more information see info bashNode: Readline Init file as well as + info readline. There is a lot that can be done with this + one rc file. + + Global values are set in /etc/inputrc. + Personal user values are set in ~/.inputrc. The + ~/.inputrc file will override the global settings + file. A later page sets up Bash to use + /etc/inputrc if there is no .inputrc + for a user when /etc/profile is read (usually at login). + If you want your system to use both, or don't want global + keyboard handling, it is a good idea to place a default + .inputrc into the /etc/skel directory for use with new users. + + Below is a base /etc/inputrc along with + comments to explain what the various options do. Note that comments + can not be on the same line as commands. + + If you will create an .inputrc in + /etc/skel using the command below, + change the command's output to /etc/skel/.inputrc and + be sure to check/set permissions afterward. Then you can just copy that + file to /etc/inputrc and the home directory + of any user already existing in the system, including root, that needs + a private version of the file. Be sure to use the + parameter of cp to maintain permissions and be sure to + change owner and group appropriately. + +cat > /etc/inputrc << "EOF" +# Begin /etc/inputrc # Make sure we don't output everything on the 1 line set horizontal-scroll-mode Off @@ -91,7 +97,7 @@ set bell-style none "\eOH": beginning-of-line "\eOF": end-of-line -# End /etc/inputrc -EOF +# End /etc/inputrc +EOF