X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=usr_bin%2Fgrml-lang;fp=usr_bin%2Fgrml-lang;h=69926ea9b08ca074c49ce8fc35c68ace6177fd77;hb=fe0f27510291462f4729428a9286af0b77446083;hp=2ded458818fe3b0b026e1dca716f46b15185f666;hpb=60f48059238ff75e7e4aaa0831cb7b3ceccadb01;p=grml-scripts-core.git diff --git a/usr_bin/grml-lang b/usr_bin/grml-lang index 2ded458..69926ea 100755 --- a/usr_bin/grml-lang +++ b/usr_bin/grml-lang @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Fri Apr 21 02:02:54 CEST 2006 [mika] +# Latest change: Mon Apr 09 13:04:40 CEST 2007 [mika] ################################################################################ usage(){ @@ -32,7 +32,6 @@ if [ -z "$DISPLAY" ] ;then echo -e "\nDone." elif [ "$1" = "us" ] ; then echo 'Loading keymap us...' - # sudo loadkeys /etc/console/boottime.kmap.gz sudo loadkeys i386/qwerty/us-latin1.kmap.gz echo -e "\nDone." else echo "No valid parameter given. @@ -40,6 +39,8 @@ if [ -z "$DISPLAY" ] ;then Notice: Use loadkeys on console and setxkbmap when running X for modifying keyboard layout. Adjust \$LANG and \$LC_ALL for setting locales." ; exit 1 fi + # switch to unicode mode on console + case $LANG in *UTF-8) kbd_mode -u ; ;; esac else if [ $# = 0 ] ; then echo "Usage: $0 "