summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--essential-files/etc/inputrc38
-rw-r--r--essential-files/manifest1
2 files changed, 39 insertions, 0 deletions
diff --git a/essential-files/etc/inputrc b/essential-files/etc/inputrc
new file mode 100644
index 00000000..ddee44cd
--- /dev/null
+++ b/essential-files/etc/inputrc
@@ -0,0 +1,38 @@
+# Allow the command prompt to wrap to the next line
+set horizontal-scroll-mode Off
+
+# Enable 8bit input
+set meta-flag On
+set input-meta On
+
+# Turns off 8th bit stripping
+set convert-meta Off
+
+# Keep the 8th bit for display
+set output-meta On
+
+# none, visible or audible
+set bell-style none
+
+# for linux console and RH/Debian xterm
+"\e[1~": beginning-of-line
+"\e[4~": end-of-line
+"\e[5~": beginning-of-history
+"\e[6~": end-of-history
+"\e[7~": beginning-of-line
+"\e[3~": delete-char
+"\e[2~": quoted-insert
+"\e[5C": forward-word
+"\e[5D": backward-word
+"\e\e[C": forward-word
+"\e\e[D": backward-word
+"\e[1;5C": forward-word
+"\e[1;5D": backward-word
+
+# for non RH/Debian xterm, can't hurt for RH/DEbian xterm
+"\eOH": beginning-of-line
+"\eOF": end-of-line
+
+# for Konsole and freebsd console
+"\e[H": beginning-of-line
+"\e[F": end-of-line
diff --git a/essential-files/manifest b/essential-files/manifest
index 1294534f..960111c4 100644
--- a/essential-files/manifest
+++ b/essential-files/manifest
@@ -1,3 +1,4 @@
0040755 0 0 /etc
overwrite 0100644 0 0 /etc/os-release
overwrite 0100644 0 0 /etc/profile
+overwrite 0100644 0 0 /etc/inputrc