Ignore:
Timestamp:
02/19/2005 10:16:42 PM (19 years ago)
Author:
Gerard Beekmans <gerard@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
3d31fc4
Parents:
2f9131f
Message:

Trunk is now identical to Testing

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/inputrc.xml

    r2f9131f r81fd230  
    88<?dbhtml filename="inputrc.html"?>
    99
    10 <para>Create the /etc/inputrc file:</para>
     10<indexterm zone="ch-scripts-inputrc"><primary sortas="e-/etc/inputrc">/etc/inputrc</primary></indexterm>
     11
     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>
     17
     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>
     21
     22<para>Global values are set in <filename>/etc/inputrc</filename>.
     23Personal user values are set in <filename>~/.inputrc</filename>. The
     24<filename>~/.inputrc</filename> file will override the global settings
     25file. A later page sets up Bash to use
     26<filename>/etc/inputrc</filename> if there is no
     27<filename>.inputrc</filename> for a user when
     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>
     33
     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>
     37
     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. 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>
    1149
    1250<screen><userinput>cat &gt; /etc/inputrc &lt;&lt; "EOF"
     
    5795
    5896</sect1>
     97
Note: See TracChangeset for help on using the changeset viewer.