Changeset 98a43ee


Ignore:
Timestamp:
06/23/2005 05:22:06 PM (19 years ago)
Author:
Archaic <archaic@…>
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.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:
37e62c3
Parents:
8559174
Message:

Rewrote the inputrc page.

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r8559174 r98a43ee  
    1 BASEDIR=~/lfs-book
     1BASEDIR=~/public_html/lfs-book-trunk
    22CHUNK_QUIET=0
    33PDF_OUTPUT=LFS-BOOK.pdf
  • chapter01/changelog.xml

    r8559174 r98a43ee  
    9090</listitem>
    9191
     92<listitem><para>June 23rd, 2005 [archaic]: Rewrote the inputrc page.
     93</para></listitem>
     94
    9295<listitem><para>June 22nd, 2005 [archaic]: Added a link to point to test
    9396results.</para></listitem>
  • chapter07/inputrc.xml

    r8559174 r98a43ee  
    1010<indexterm zone="ch-scripts-inputrc"><primary sortas="e-/etc/inputrc">/etc/inputrc</primary></indexterm>
    1111
    12 <para>The <filename>/etc/inputrc</filename> file deals with mapping
    13 the keyboard for specific situations. This file is the start-up file
    14 used by <application>Readline</application>, the input-related
    15 library used by <application>Bash</application> and most other
    16 shells.</para>
     12<para>The <filename>inputrc</filename> file handles keyboard mapping for
     13specific situations. This file is the startup file used by Readline &mdash; the
     14input-related library &mdash; used by Bash and most other shells.</para>
    1715
    18 <para>For more information, see the <command>bash</command> info page, section
    19 <emphasis>Readline Init File</emphasis>. The
    20 <filename class="libraryfile">readline</filename> info page is
    21 also a good source of information.</para>
     16<para>Most people do not need user-specific keyboard mappings so the command
     17below creates a global <filename>/etc/inputrc</filename> used by everyone who
     18logs in. If you later decide you need to override the defaults on a per-user
     19basis, you can create a <filename>.inputrc</filename> file in the user's home
     20directory with the modified mappings.</para>
    2221
    23 <para>Global values are set in <filename>/etc/inputrc</filename>.
    24 Personal user values are set in <filename>~/.inputrc</filename>. The
    25 <filename>~/.inputrc</filename> file will override the global settings
    26 file. A later page sets up Bash to use
    27 <filename>/etc/inputrc</filename> if there is no
    28 <filename>.inputrc</filename> for a user when
    29 <filename>/etc/profile</filename> is read (usually at login). To make
    30 the system use both, or to negate global keyboard handling, it is a
    31 good idea to place a default <filename>.inputrc</filename> into the
    32 <filename class="directory">/etc/skel</filename> directory for use
    33 with new users.</para>
     22<para>For more information on how to edit the inputrc file, see <command>info
     23bash</command> under the <emphasis>Readline Init File</emphasis> section.
     24<command>info readline</command> is also a good source of information.</para>
    3425
    35 <para>Below is a base <filename>/etc/inputrc</filename>, along with
    36 comments to explain what the various options do. Note that comments
    37 cannot be on the same line as commands.</para>
    38 
    39 <para>To create the <filename>.inputrc</filename> in <filename
    40 class="directory">/etc/skel</filename> using the command below, change
    41 the command's output to <filename
    42 class="directory">/etc/skel/.inputrc</filename> and be sure to
    43 check/set permissions afterward. Copy that file to
    44 <filename>/etc/inputrc</filename> and the home directory of any user
    45 already existing on the system, including <emphasis>root</emphasis>,
    46 that needs a private version of the file. Be certain to use the
    47 <parameter>-p</parameter> parameter of <command>cp</command> to
    48 maintain permissions and be sure to change owner and group
    49 appropriately.</para>
     26<para>Below is a generic global <filename>inputrc</filename> along with comments
     27to explain what the various options do. Note that comments cannot be on the same
     28line as commands. Create the file using the following command:</para>
    5029
    5130<screen><userinput>cat &gt; /etc/inputrc &lt;&lt; "EOF"
     
    5332# Modified by Chris Lynn &lt;roryo@roryo.dynup.net&gt;
    5433
    55 # Make sure we don't output everything on the 1 line
     34# Allow the command prompt to wrap to the next line
    5635set horizontal-scroll-mode Off
    5736
Note: See TracChangeset for help on using the changeset viewer.