Changeset 9a67723 for postlfs/config/inputrc.xml
- Timestamp:
- 12/24/2002 03:01:04 AM (21 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 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, v1_0, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- a8cefc7
- Parents:
- 35178436
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/config/inputrc.xml
r35178436 r9a67723 3 3 <title>/etc/inputrc</title> 4 4 5 <para>There are a number of configuration files that are common to all 6 Linux systems. Inputrc deals with the mapping of the keybord in ceratin 7 situations. This file is the start-up file used by readline - the input 8 related library used by bash and most other shells. By changing this file 9 you can change how certain keys act in different situations. The following 10 is a simple inputrc along with comments to explain what the various 11 options do.</para> 5 <para>Inputrc deals with the mapping of the keyboard for certain 6 situations. This file is the start-up file used by readline - the input 7 related library used by Bash and most other shells.</para> 12 8 13 <para>The following file can be used as 14 <filename>/etc/inputrc</filename> or <filename>~/.inputrc</filename> as 15 appropriate. See below for more details on which to use.</para> 9 <para>For more information see <filename>info bash</filename> -- Node: 10 Readline Init file as well as <filename>info readline</filename>. There 11 is a lot that can be done with this one rc file.</para> 12 13 <para>The following is a base <filename>/etc/inputrc</filename> along with 14 comments to explain what the various options do.</para> 16 15 17 16 <para>Please note that comments can <emphasis>not</emphasis> be on the 18 17 same line as commands in <filename>inputrc</filename>.</para> 19 18 20 <para><screen># Make sure we don't output everything on the 1 line 19 <para><screen># Begin /etc/inputrc 20 21 # Make sure we don't output everything on the 1 line 21 22 set horizontal-scroll-mode Off 22 23 … … 51 52 # for xterm 52 53 "\eOH": beginning-of-line 53 "\eOF": end-of-line </screen></para>54 "\eOF": end-of-line 54 55 55 <para>Please see the manual pages for more information. For more 56 information, look at bash(1) and search for readline, or if you have 57 the readline package installed, look at readline(3). There is a lot that 58 can be done with this single rc file.</para> 56 # End /etc/inputrc</screen></para> 59 57 60 <para>Note that the readline library checks ~/.inputrc, by default. If 61 you want to use <filename>/etc/inputrc</filename> as your global 62 inputrc (i.e. for all users), you will need to add the line 63 <screen><userinput>export INPUTRC=/etc/inputrc</userinput></screen> 64 to your .bash_profile, .bashrc or .profile file as appropriate. To make 65 the file truly global, you may wish to add it to your 66 <filename>/etc/profile</filename> file.</para> 67 68 <para>If you want to use per-user <userinput>.inputrc</userinput> files, 69 you can create one and drop it into <filename>/etc/skel</filename> for use 70 when creating new users.</para> 58 <para>Global values are set in <filename>/etc/inputrc</filename>. 59 Personal user values as are set in <filename>~/.inputrc</filename>. The 60 <filename>~/.inputrc</filename> file will override the global settings 61 file. The previous page sets up Bash to use 62 <filename>/etc/inputrc</filename> by default. If you want your system 63 to use both, it might be a good idea to place a default 64 <filename>.inputrc</filename> into the <filename>/etc/skel</filename> 65 directory for use with new users.</para> 71 66 72 67 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.