Ignore:
Timestamp:
08/08/2004 02:11:27 AM (20 years ago)
Author:
Gerard Beekmans <gerard@…>
Branches:
6.0
Children:
1dc34de7
Parents:
ef13657
Message:

Completed global edits for upcoming 6.0 release

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/testing/BOOK@4001 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/inputrc.xml

    ref13657 r5ba3d1d  
    1010<indexterm zone="ch-scripts-inputrc"><primary sortas="e-/etc/inputrc">/etc/inputrc</primary></indexterm>
    1111
    12 <para><filename>/etc/inputrc</filename> deals with the mapping of the keyboard for
    13 certain situations.  This file is the start-up file used by
    14 <application>readline</application> - the input related library used by
    15 <application>Bash</application> and most other shells.</para>
     12<para>The <filename>/etc/inputrc</filename> file deals with mapping
     13the keyboard for specific situations. This file is the start-up file
     14used by <application>readline</application> -- the input-related
     15library used by <application>Bash</application> and most other
     16shells.</para>
    1617
    17 <para>For more information see <command>info bash</command> -- <emphasis
    18 role="strong">Node: Readline Init</emphasis> file as well as
    19 <command>info readline</command>. There is a lot that can be done with this
    20 one rc file.</para>
     18<para>For more information, see the bash info page, section
     19<emphasis>Readline Init File</emphasis>. The readline info page is
     20also a good source of information.</para>
    2121
    2222<para>Global values are set in <filename>/etc/inputrc</filename>.
    2323Personal user values are set in <filename>~/.inputrc</filename>. The
    2424<filename>~/.inputrc</filename> file will override the global settings
    25 file.  A later page sets up <application>Bash</application> to use
     25file. A later page sets up Bash to use
    2626<filename>/etc/inputrc</filename> if there is no
    2727<filename>.inputrc</filename> for a user when
    28 <filename>/etc/profile</filename> is read (usually at login).  If you
    29 want your system to use both, or don't want <emphasis>global</emphasis>
    30 keyboard handling, it is a good idea to place a default
    31 <filename>.inputrc</filename> into the <filename class="directory">/etc/skel</filename>
    32 directory for use with new users.</para>
     28<filename>/etc/profile</filename> is read (usually at login). To make
     29the system use both, or to negate global keyboard handling, it is a
     30good idea to place a default <filename>.inputrc</filename> into the
     31<filename class="directory">/etc/skel</filename> directory for use
     32with new users.</para>
    3333
    34 <para>
    35 Below is a base <filename>/etc/inputrc</filename> along with
    36 comments to explain what the various options do.  Note that comments
    37 can <emphasis>not</emphasis> be on the same line as commands.
    38 </para>
     34<para>Below is a base <filename>/etc/inputrc</filename>, along with
     35comments to explain what the various options do. Note that comments
     36cannot be on the same line as commands.</para>
    3937
    40 <para>If you will create an <filename>.inputrc</filename> in
    41 <filename class="directory">/etc/skel</filename> using the command below, change the
    42 command's output to <filename>/etc/skel/.inputrc</filename> and be
    43 sure to check/set permissions afterward. Then you can just copy that
    44 file to <filename>/etc/inputrc</filename> and the home directory
    45 of any user already existing in the system, including root, that needs
    46 a private version of the file.  Be sure to use the <parameter>-p</parameter> parameter
    47 of <command>cp</command> to maintain permissions and be sure to change owner and group
    48 appropriately.
    49 </para>
     38<para>To create the <filename>.inputrc</filename> in <filename
     39class="directory">/etc/skel</filename> using the command below, change
     40the command's output to <filename
     41class="directory">/etc/skel/.inputrc</filename> and be sure to
     42check/set permissions afterward. Then copy that file to
     43<filename>/etc/inputrc</filename> and the home directory of any user
     44already existing on the system, including <emphasis>root</emphasis>,
     45that needs a private version of the file. Be certain to use the
     46<parameter>-p</parameter> parameter of <command>cp</command> to
     47maintain permissions and be sure to change owner and group
     48appropriately.</para>
    5049
    5150<screen><userinput>cat &gt; /etc/inputrc &lt;&lt; "EOF"
    5251# Begin /etc/inputrc
     52# Modified by Chris Lynn &lt;roryo@roryo.dynup.net&gt;
    5353
    5454# Make sure we don't output everything on the 1 line
     
    9595
    9696</sect1>
     97
Note: See TracChangeset for help on using the changeset viewer.