Changeset 46a2e9c for chapter07/inputrc.xml
- Timestamp:
- 01/06/2006 02:59:05 AM (19 years ago)
- Children:
- e1ca33a
- Parents:
- 1714f1a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter07/inputrc.xml
r1714f1a r46a2e9c 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 3 4 <!ENTITY % general-entities SYSTEM "../general.ent"> 4 5 %general-entities; 5 6 ]> 7 6 8 <sect1 id="ch-scripts-inputrc"> 7 <title>Creating the /etc/inputrc File</title> 8 <?dbhtml filename="inputrc.html"?> 9 <?dbhtml filename="inputrc.html"?> 9 10 10 <indexterm zone="ch-scripts-inputrc"><primary sortas="e-/etc/inputrc">/etc/inputrc</primary></indexterm>11 <title>Creating the /etc/inputrc File</title> 11 12 12 <para>The <filename>inputrc</filename> file handles keyboard mapping for 13 specific situations. This file is the startup file used by Readline — the 14 input-related library — used by Bash and most other shells.</para>13 <indexterm zone="ch-scripts-inputrc"> 14 <primary sortas="e-/etc/inputrc">/etc/inputrc</primary> 15 </indexterm> 15 16 16 <para>Most people do not need user-specific keyboard mappings so the command 17 below creates a global <filename>/etc/inputrc</filename> used by everyone who 18 logs in. If you later decide you need to override the defaults on a per-user 19 basis, you can create a <filename>.inputrc</filename> file in the user's home 20 directory with the modified mappings.</para> 17 <para>The <filename>inputrc</filename> file handles keyboard mapping for 18 specific situations. This file is the startup file used by Readline — the 19 input-related library — used by Bash and most other shells.</para> 21 20 22 <para>For more information on how to edit the <filename>inputrc</filename> file, 23 see <command>info bash</command> under the <emphasis>Readline Init File</emphasis> 24 section. <command>info readline</command> is also a good source of information.</para> 21 <para>Most people do not need user-specific keyboard mappings so the command 22 below creates a global <filename>/etc/inputrc</filename> used by everyone who 23 logs in. If you later decide you need to override the defaults on a per-user 24 basis, you can create a <filename>.inputrc</filename> file in the user's home 25 directory with the modified mappings.</para> 25 26 26 <para>Below is a generic global <filename>inputrc</filename> along with comments 27 to explain what the various options do. Note that comments cannot be on the same 28 line as commands. Create the file using the following command:</para> 27 <para>For more information on how to edit the <filename>inputrc</filename> 28 file, see <command>info bash</command> under the <emphasis>Readline Init 29 File</emphasis> section. <command>info readline</command> is also a good 30 source of information.</para> 31 32 <para>Below is a generic global <filename>inputrc</filename> along with comments 33 to explain what the various options do. Note that comments cannot be on the same 34 line as commands. Create the file using the following command:</para> 29 35 30 36 <screen><userinput>cat > /etc/inputrc << "EOF" … … 75 81 76 82 </sect1> 77
Note:
See TracChangeset
for help on using the changeset viewer.