summaryrefslogtreecommitdiffstats
path: root/sys-apps/kbd/files/kbd-1.14-ds-unicode.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/kbd/files/kbd-1.14-ds-unicode.patch')
-rw-r--r--sys-apps/kbd/files/kbd-1.14-ds-unicode.patch59
1 files changed, 0 insertions, 59 deletions
diff --git a/sys-apps/kbd/files/kbd-1.14-ds-unicode.patch b/sys-apps/kbd/files/kbd-1.14-ds-unicode.patch
deleted file mode 100644
index 9a21352..0000000
--- a/sys-apps/kbd/files/kbd-1.14-ds-unicode.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-diff -dPNur kbd-1.14.1/src/unicode_start kbd-1.14.1-unicode/src/unicode_start
---- kbd-1.14.1/src/unicode_start 2008-03-24 17:03:56.000000000 +0100
-+++ kbd-1.14.1-unicode/src/unicode_start 2008-07-04 23:20:41.000000000 +0200
-@@ -3,7 +3,7 @@
- # 0. Check whether we're on a console
- TTY="`/usr/bin/tty`"
- case "$TTY" in
-- /dev/console|/dev/vc*|/dev/tty[0-9]*)
-+ /dev/console|/dev/vc*|/dev/tty*|/dev/pts/*)
- ;;
- *)
- echo "unicode_start skipped on $TTY" >&2
-diff -dPNur kbd-1.14.1/src/unicode_stop kbd-1.14.1-unicode/src/unicode_stop
---- kbd-1.14.1/src/unicode_stop 2008-03-24 17:03:56.000000000 +0100
-+++ kbd-1.14.1-unicode/src/unicode_stop 2008-07-04 23:22:18.000000000 +0200
-@@ -1,8 +1,13 @@
- #!/bin/sh
-
--TTY="`/usr/bin/tty`"
-+if [ -z "$1" ]; then
-+ TTY="`/usr/bin/tty`"
-+else
-+ TTY=$1
-+fi
-+
- case "$TTY" in
-- /dev/console|/dev/vc*|/dev/tty[0-9]*)
-+ /dev/console|/dev/vc*|/dev/tty*|/dev/pts/*)
- ;;
- *)
- echo "unicode_stop skipped on $TTY"
-@@ -11,14 +16,23 @@
- esac
-
- # stop unicode
--kbd_mode -a
--if test -t ; then
-+if [ -z "$1" ]; then
-+ kbd_mode -a
-+ if test -t ; then
- printf '\033%%@'
-+ fi
-+ stty -iutf8
-+else
-+ kbd_mode -a -C $TTY
-+ if test -t ; then
-+ printf '\033%%@' > $TTY
-+ fi
-+ stty -F $TTY -iutf8
- fi
--stty -iutf8
-
- uid="`id -u 2>/dev/null`" ||:
- if [ "$uid" = '0' ]; then
- [ ! -r "$HOME/.kbd/.keymap_sv" ] ||
- loadkeys "$HOME/.kbd/.keymap_sv"
- fi
-+setfont
-\ No newline at end of file