summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/base-files
diff options
context:
space:
mode:
authorJoseph A. Lutz <joseph.lutz@novatechweb.com>2015-12-29 16:54:27 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-07 13:40:19 +0000
commitc44599d71b04e3ff7f5521fcd400f40b147c82c1 (patch)
tree4ab694d7384863b872c0034b8fdfba4f2fd89b5e /meta/recipes-core/base-files
parentf29d642c2b776d3fd8ce3ddab9d1f8a003003087 (diff)
downloadpoky-c44599d71b04e3ff7f5521fcd400f40b147c82c1.tar.gz
readline: move inputrc into readline
inputrc is the global configuration file for the readline library. (From OE-Core rev: 619d15b9a2c53eb8496c807f0f229f5cb192e9d7) Signed-off-by: Joseph A. Lutz <joseph.lutz@novatechweb.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/base-files')
-rw-r--r--meta/recipes-core/base-files/base-files/inputrc61
-rw-r--r--meta/recipes-core/base-files/base-files_3.0.14.bb4
2 files changed, 1 insertions, 64 deletions
diff --git a/meta/recipes-core/base-files/base-files/inputrc b/meta/recipes-core/base-files/base-files/inputrc
deleted file mode 100644
index b5c4c8af24..0000000000
--- a/meta/recipes-core/base-files/base-files/inputrc
+++ /dev/null
@@ -1,61 +0,0 @@
1# /etc/inputrc - global inputrc for libreadline
2# See readline(3readline) and `info rluserman' for more information.
3
4# Be 8 bit clean.
5set input-meta on
6set output-meta on
7
8# To allow the use of 8bit-characters like the german umlauts, comment out
9# the line below. However this makes the meta key not work as a meta key,
10# which is annoying to those which don't need to type in 8-bit characters.
11
12# set convert-meta off
13
14# try to enable the application keypad when it is called. Some systems
15# need this to enable the arrow keys.
16# set enable-keypad on
17
18# see /usr/share/doc/bash/inputrc.arrows for other codes of arrow keys
19
20# do not bell on tab-completion
21# set bell-style none
22
23# some defaults / modifications for the emacs mode
24$if mode=emacs
25
26# allow the use of the Home/End keys
27# "\e[1~": beginning-of-line
28# "\e[4~": end-of-line
29
30# allow the use of the Delete/Insert keys
31# "\e[3~": delete-char
32# "\e[2~": quoted-insert
33
34# mappings for "page up" and "page down" to step to the beginning/end
35# of the history
36# "\e[5~": beginning-of-history
37# "\e[6~": end-of-history
38
39# alternate mappings for "page up" and "page down" to search the history
40# "\e[5~": history-search-backward
41# "\e[6~": history-search-forward
42
43# # mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
44# "\e[5C": forward-word
45# "\e[5D": backward-word
46# "\e\e[C": forward-word
47# "\e\e[D": backward-word
48
49# $if term=rxvt
50# "\e[8~": end-of-line
51# $endif
52
53# for non RH/Debian xterm, can't hurt for RH/DEbian xterm
54# "\eOH": beginning-of-line
55# "\eOF": end-of-line
56
57# for freebsd console
58# "\e[H": beginning-of-line
59# "\e[F": end-of-line
60
61$endif
diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb b/meta/recipes-core/base-files/base-files_3.0.14.bb
index b71d5c5341..d391707376 100644
--- a/meta/recipes-core/base-files/base-files_3.0.14.bb
+++ b/meta/recipes-core/base-files/base-files_3.0.14.bb
@@ -13,7 +13,6 @@ LIC_FILES_CHKSUM = "file://licenses/GPL-2;md5=94d55d512a9ba36caa9b7df079bae19f"
13SRC_URI = "file://rotation \ 13SRC_URI = "file://rotation \
14 file://nsswitch.conf \ 14 file://nsswitch.conf \
15 file://motd \ 15 file://motd \
16 file://inputrc \
17 file://host.conf \ 16 file://host.conf \
18 file://profile \ 17 file://profile \
19 file://shells \ 18 file://shells \
@@ -55,7 +54,7 @@ dirs2775-lsb = "/var/mail"
55 54
56volatiles = "log tmp" 55volatiles = "log tmp"
57conffiles = "${sysconfdir}/debian_version ${sysconfdir}/host.conf \ 56conffiles = "${sysconfdir}/debian_version ${sysconfdir}/host.conf \
58 ${sysconfdir}/inputrc ${sysconfdir}/issue /${sysconfdir}/issue.net \ 57 ${sysconfdir}/issue /${sysconfdir}/issue.net \
59 ${sysconfdir}/nsswitch.conf ${sysconfdir}/profile \ 58 ${sysconfdir}/nsswitch.conf ${sysconfdir}/profile \
60 ${sysconfdir}/default" 59 ${sysconfdir}/default"
61 60
@@ -124,7 +123,6 @@ do_install () {
124 install -m 0644 ${WORKDIR}/shells ${D}${sysconfdir}/shells 123 install -m 0644 ${WORKDIR}/shells ${D}${sysconfdir}/shells
125 install -m 0755 ${WORKDIR}/share/dot.profile ${D}${sysconfdir}/skel/.profile 124 install -m 0755 ${WORKDIR}/share/dot.profile ${D}${sysconfdir}/skel/.profile
126 install -m 0755 ${WORKDIR}/share/dot.bashrc ${D}${sysconfdir}/skel/.bashrc 125 install -m 0755 ${WORKDIR}/share/dot.bashrc ${D}${sysconfdir}/skel/.bashrc
127 install -m 0644 ${WORKDIR}/inputrc ${D}${sysconfdir}/inputrc
128 install -m 0644 ${WORKDIR}/nsswitch.conf ${D}${sysconfdir}/nsswitch.conf 126 install -m 0644 ${WORKDIR}/nsswitch.conf ${D}${sysconfdir}/nsswitch.conf
129 install -m 0644 ${WORKDIR}/host.conf ${D}${sysconfdir}/host.conf 127 install -m 0644 ${WORKDIR}/host.conf ${D}${sysconfdir}/host.conf
130 install -m 0644 ${WORKDIR}/motd ${D}${sysconfdir}/motd 128 install -m 0644 ${WORKDIR}/motd ${D}${sysconfdir}/motd