summaryrefslogtreecommitdiff
path: root/fs/skeleton/etc/inputrc
diff options
context:
space:
mode:
authorDmytro Milinevskyy <milinevskyy@gmail.com>2010-06-16 23:22:40 +0300
committerPeter Korsgaard <jacmet@sunsite.dk>2010-07-18 23:08:55 +0200
commitd9119c0bc55de95967b3de67be1fc49101a9d896 (patch)
tree4af1c4eaf3ab4f1c7a116fdc29d35df856247720 /fs/skeleton/etc/inputrc
parented0d45fdd4b140484d6488deabca69a9088a43ca (diff)
move default skeleton to fs/ and drop busybox skeleton
[Peter: fixup patch, adjust for busybox.mk changes] Signed-off-by: Dmytro Milinevskyy <milinevskyy@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'fs/skeleton/etc/inputrc')
-rw-r--r--fs/skeleton/etc/inputrc44
1 files changed, 44 insertions, 0 deletions
diff --git a/fs/skeleton/etc/inputrc b/fs/skeleton/etc/inputrc
new file mode 100644
index 000000000..2f1cb601a
--- /dev/null
+++ b/fs/skeleton/etc/inputrc
@@ -0,0 +1,44 @@
+# /etc/inputrc - global inputrc for libreadline
+# See readline(3readline) and `info readline' for more information.
+
+# Be 8 bit clean.
+set input-meta on
+set output-meta on
+set bell-style visible
+
+# To allow the use of 8bit-characters like the german umlauts, comment out
+# the line below. However this makes the meta key not work as a meta key,
+# which is annoying to those which don't need to type in 8-bit characters.
+
+# set convert-meta off
+
+"\e0d": backward-word
+"\e0c": forward-word
+"\e[h": beginning-of-line
+"\e[f": end-of-line
+"\e[1~": beginning-of-line
+"\e[4~": end-of-line
+#"\e[5~": beginning-of-history
+#"\e[6~": end-of-history
+"\e[3~": delete-char
+"\e[2~": quoted-insert
+
+# Common standard keypad and cursor
+# (codes courtsey Werner Fink, <werner@suse.de>)
+#"\e[1~": history-search-backward
+"\e[2~": yank
+"\e[3~": delete-char
+#"\e[4~": set-mark
+"\e[5~": history-search-backward
+"\e[6~": history-search-forward
+# Normal keypad and cursor of xterm
+"\e[F": end-of-line
+"\e[H": beginning-of-line
+# Application keypad and cursor of xterm
+"\eOA": previous-history
+"\eOC": forward-char
+"\eOB": next-history
+"\eOD": backward-char
+"\eOF": end-of-line
+"\eOH": beginning-of-line
+