aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/inputrc.xml
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2004-06-19 16:54:58 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2004-06-19 16:54:58 +0000
commitf67f5cfed55cb2ac26f29d16ad1f099461e7cf98 (patch)
treecdb61a57a3414232a71d7bdc81779c9fd0364604 /chapter07/inputrc.xml
parent8ad79807a3c97e18a90319c9b91018b0be2bbb3c (diff)
Tags corrections
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3813 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07/inputrc.xml')
-rw-r--r--chapter07/inputrc.xml14
1 files changed, 8 insertions, 6 deletions
diff --git a/chapter07/inputrc.xml b/chapter07/inputrc.xml
index f8327beb9..977e9755f 100644
--- a/chapter07/inputrc.xml
+++ b/chapter07/inputrc.xml
@@ -7,7 +7,9 @@
<title>Creating the /etc/inputrc file</title>
<?dbhtml filename="inputrc.html"?>
-<para><filename>Inputrc</filename> deals with the mapping of the keyboard for
+<indexterm zone="ch-scripts-inputrc"><primary sortas="e-/etc/inputrc">/etc/inputrc</primary></indexterm>
+
+<para><filename>/etc/inputrc</filename> deals with the mapping of the keyboard for
certain situations. This file is the start-up file used by
<application>readline</application> - the input related library used by
<application>Bash</application> and most other shells.</para>
@@ -26,7 +28,7 @@ file. A later page sets up <application>Bash</application> to use
<filename>/etc/profile</filename> is read (usually at login). If you
want your system to use both, or don't want <emphasis>global</emphasis>
keyboard handling, it is a good idea to place a default
-<filename>.inputrc</filename> into the <filename>/etc/skel</filename>
+<filename>.inputrc</filename> into the <filename class="directory">/etc/skel</filename>
directory for use with new users.</para>
<para>
@@ -36,17 +38,17 @@ can <emphasis>not</emphasis> be on the same line as commands.
</para>
<para>If you will create an <filename>.inputrc</filename> in
-<filename>/etc/skel</filename> using the command below, change the
+<filename class="directory">/etc/skel</filename> using the command below, change the
command's output to <filename>/etc/skel/.inputrc</filename> and be
sure to check/set permissions afterward. Then you can just copy that
file to <filename>/etc/inputrc</filename> 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 <option>-p</option> parameter
+a private version of the file. Be sure to use the <parameter>-p</parameter> parameter
of <command>cp</command> to maintain permissions and be sure to change owner and group
appropriately.
</para>
-<screen><userinput>cat &gt; /etc/inputrc &lt;&lt; "EOF"</userinput>
+<screen><userinput>cat &gt; /etc/inputrc &lt;&lt; "EOF"
# Begin /etc/inputrc
# Make sure we don't output everything on the 1 line
@@ -89,6 +91,6 @@ set bell-style none
"\e[F": end-of-line
# End /etc/inputrc
-<userinput>EOF</userinput></screen>
+EOF</userinput></screen>
</sect1>