Changeset c594bf3


Ignore:
Timestamp:
05/12/2005 08:16:38 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
89acbff
Parents:
74ce7a3
Message:

Tagged inputrc.xml

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4173 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/config/inputrc.xml

    r74ce7a3 rc594bf3  
    77
    88<sect1 id="postlfs-config-inputrc" xreflabel="Introduction to /etc/inputrc">
    9 <sect1info>
    10 <othername>$LastChangedBy$</othername>
    11 <date>$Date$</date>
    12 </sect1info>
    13 <?dbhtml filename="inputrc.html"?>
    14 <title>/etc/inputrc</title>
    15 <indexterm zone="postlfs-config-inputrc">
    16 <primary sortas="e-etc-inputrc">/etc/inputrc</primary></indexterm>
    17 <indexterm zone="postlfs-config-inputrc">
    18 <primary sortas="e-AA.inputrc">~/.inputrc</primary></indexterm>
     9  <?dbhtml filename="inputrc.html"?>
    1910
    20 <para><filename>Inputrc</filename> deals with the mapping of the keyboard for
    21 certain situations.  This file is the start-up file used by
    22 <application>readline</application>, the input related library used by
    23 <application>bash</application> and most other shells.</para>
     11  <sect1info>
     12    <othername>$LastChangedBy$</othername>
     13    <date>$Date$</date>
     14  </sect1info>
    2415
    25 <para>For more information see <command>info bash</command>&mdash;<emphasis
    26 role="strong">Node: Readline Init</emphasis> file as well as
    27 <command>info readline</command>. There is a lot that can be done with this
    28 one rc file.</para>
     16  <title>Introduction to /etc/inputrc</title>
    2917
    30 <para>Global values are set in <filename>/etc/inputrc</filename>.
    31 Personal user values are set in <filename>~/.inputrc</filename>. The
    32 <filename>~/.inputrc</filename> file will override the global settings
    33 file.  A later page sets up <application>Bash</application> to use
    34 <filename>/etc/inputrc</filename> if there is no
    35 <filename>.inputrc</filename> for a user when
    36 <filename>/etc/profile</filename> is read (usually at login).  If you
    37 want your system to use both, or don't want <emphasis>global</emphasis>
    38 keyboard handling, it is a good idea to place a default
    39 <filename>.inputrc</filename> into the <filename>/etc/skel</filename>
    40 directory for use with new users.</para>
     18  <indexterm zone="postlfs-config-inputrc">
     19    <primary sortas="e-etc-inputrc">/etc/inputrc</primary>
     20  </indexterm>
    4121
    42 <para>Below is a base <filename>/etc/inputrc</filename> along with
    43 comments to explain what the various options do.  Note that comments
    44 can <emphasis>not</emphasis> be on the same line as commands.</para>
     22  <indexterm zone="postlfs-config-inputrc">
     23    <primary sortas="e-AA.inputrc">~/.inputrc</primary>
     24  </indexterm>
    4525
    46 <para>If you will create an <filename>.inputrc</filename> in
    47 <filename>/etc/skel</filename> using the command below, change the
    48 command's output to <filename>/etc/skel/.inputrc</filename> and be
    49 sure to check/set permissions afterward. Then you can just copy that
    50 file to <filename>/etc/inputrc</filename> and the home directory
    51 of any user already existing in the system, including root, that needs
    52 a private version of the file.  Be sure to use the <option>-p</option>
    53 parameter of <command>cp</command> to maintain permissions and be sure to
    54 change owner and group appropriately.</para>
     26  <para><filename>/etc/inputrc</filename> deals with the mapping of the
     27  keyboard for certain situations.  This file is the start-up file used by
     28  <application>readline</application>, the input related library used by
     29  <application>bash</application> and most other shells.</para>
    5530
    56 <screen><userinput><command>cat &gt; /etc/inputrc &lt;&lt; "EOF"</command>
    57 # Begin /etc/inputrc
     31  <para>For more information see <command>info bash</command>&mdash;<emphasis
     32  role="strong">Node: Readline Init</emphasis> file as well as
     33  <command>info readline</command>. There is a lot that can be done with this
     34  one rc file.</para>
     35
     36  <para>Global values are set in <filename>/etc/inputrc</filename>.
     37  Personal user values are set in <filename>~/.inputrc</filename>. The
     38  <filename>~/.inputrc</filename> file will override the global settings
     39  file.  A later page sets up <application>Bash</application> to use
     40  <filename>/etc/inputrc</filename> if there is no <filename>.inputrc</filename>
     41  for a user when   <filename>/etc/profile</filename> is read (usually at login). 
     42  If you   want your system to use both, or don't want <emphasis>global</emphasis>
     43  keyboard handling, it is a good idea to place a default
     44  <filename>.inputrc</filename> into the <filename
     45  class="directory">/etc/skel</filename> directory for use with new users.</para>
     46
     47  <para>Below is a base <filename>/etc/inputrc</filename> along with
     48  comments to explain what the various options do.  Note that comments
     49  can <emphasis>not</emphasis> be on the same line as commands.</para>
     50
     51  <para>If you will create an <filename>.inputrc</filename> in
     52  <filename class="directory">/etc/skel</filename> using the command below,
     53  change the command's output to <filename>/etc/skel/.inputrc</filename> and
     54  be sure to check/set permissions afterward. Then you can just copy that
     55  file to <filename>/etc/inputrc</filename> and the home directory
     56  of any user already existing in the system, including <systemitem
     57  class="username">root</systemitem>, that needs
     58  a private version of the file.  Be sure to use the <option>-p</option>
     59  parameter of <command>cp</command> to maintain permissions and be sure to
     60  change owner and group appropriately.</para>
     61
     62<screen role="root"><userinput>cat &gt; /etc/inputrc &lt;&lt; "EOF"
     63<literal># Begin /etc/inputrc
    5864
    5965# Make sure we don't output everything on the 1 line
     
    9298"\eOF": end-of-line
    9399
    94 # End /etc/inputrc
    95 <command>EOF</command></userinput></screen>
     100# End /etc/inputrc</literal>
     101EOF</userinput></screen>
    96102
    97103</sect1>
Note: See TracChangeset for help on using the changeset viewer.