aboutsummaryrefslogtreecommitdiff
path: root/init.d.Linux/keymaps
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-04-26 08:02:21 +0000
committerRoy Marples <roy@marples.name>2007-04-26 08:02:21 +0000
commit431e8cc84fe960ec91c3463493ce94df65ef41f2 (patch)
treea80360e058a6fc33d5040c3fc19541cf7023d87b /init.d.Linux/keymaps
parentc1d6bfc721eff57798317036004b0d87ce85a068 (diff)
Fix early setting of font
Diffstat (limited to 'init.d.Linux/keymaps')
-rwxr-xr-xinit.d.Linux/keymaps6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.d.Linux/keymaps b/init.d.Linux/keymaps
index eab90552..0de5833e 100755
--- a/init.d.Linux/keymaps
+++ b/init.d.Linux/keymaps
@@ -58,10 +58,10 @@ start() {
[ -n "${DUMPKEYS_CHARSET}" ] && dumpkey_opts="-c ${DUMPKEYS_CHARSET}"
dumpkeys ${dumpkey_opts} | loadkeys --unicode
- termencoding='\033%%G'
+ termencoding="%G"
termmsg="UTF-8"
else
- termencoding='\033(K'
+ termencoding="(K"
termmsg="ASCII"
fi
local n=1 ttydev=
@@ -70,7 +70,7 @@ start() {
|| ttydev=/dev/tty
ebegin "Setting terminal encoding to" ${termmsg}
while [ ${n} -le "${RC_TTY_NUMBER}" ] ; do
- printf "${termencoding}" >"${ttydev}${n}"
+ printf "\033%s" "${termencoding}" >"${ttydev}${n}"
n=$((${n} + 1))
done
eend 0