source: postlfs/config/inputrc.xml@ 9a67723

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
Last change on this file since 9a67723 was 9a67723, checked in by Larry Lawrence <larry@…>, 21 years ago

update inputrc & placehold skel

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

  • Property mode set to 100644
File size: 2.0 KB
Line 
1<sect1 id="postlfs-config-inputrc">
2<?dbhtml filename="inputrc.html" dir="postlfs"?>
3<title>/etc/inputrc</title>
4
5<para>Inputrc deals with the mapping of the keyboard for certain
6situations. This file is the start-up file used by readline - the input
7related library used by Bash and most other shells.</para>
8
9<para>For more information see <filename>info bash</filename> -- Node:
10Readline Init file as well as <filename>info readline</filename>. There
11is 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
14comments to explain what the various options do.</para>
15
16<para>Please note that comments can <emphasis>not</emphasis> be on the
17same line as commands in <filename>inputrc</filename>.</para>
18
19<para><screen># Begin /etc/inputrc
20
21# Make sure we don't output everything on the 1 line
22set horizontal-scroll-mode Off
23
24# Enable 8bit input
25set meta-flag On
26set input-meta On
27
28# Turns off 8th bit stripping
29set convert-meta Off
30
31# Keep the 8th bit for display
32set output-meta On
33
34# none, visible or audible
35set bell-style none
36
37# All of the following map the escape sequence of the
38# value contained inside the 1st argument to the
39# readline specific functions
40
41"\eOd": backward-word
42"\eOc": forward-word
43
44# for linux console
45"\e[1~": beginning-of-line
46"\e[4~": end-of-line
47"\e[5~": beginning-of-history
48"\e[6~": end-of-history
49"\e[3~": delete-char
50"\e[2~": quoted-insert
51
52# for xterm
53"\eOH": beginning-of-line
54"\eOF": end-of-line
55
56# End /etc/inputrc</screen></para>
57
58<para>Global values are set in <filename>/etc/inputrc</filename>.
59Personal user values as are set in <filename>~/.inputrc</filename>. The
60<filename>~/.inputrc</filename> file will override the global settings
61file. The previous page sets up Bash to use
62<filename>/etc/inputrc</filename> by default. If you want your system
63to use both, it might be a good idea to place a default
64<filename>.inputrc</filename> into the <filename>/etc/skel</filename>
65directory for use with new users.</para>
66
67</sect1>
Note: See TracBrowser for help on using the repository browser.