diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-02 05:23:45 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-02 05:23:45 +0200 |
commit | 576b6208d6defe240bfa2477d6dd19f1ed83bfaf (patch) | |
tree | 7d54883f16cccc4cbd414398d7fec3c437b36b49 /sys-apps/kbd/files/kbd-1.14-ds-unicode.patch | |
parent | fdd6b67a78a966f6a2131de8fe0e539316511083 (diff) | |
download | darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.gz darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.bz2 darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.xz darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.zip |
Cleaned most of outdated stuff
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.patch | 59 |
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 |