[arch-commits] CVS update of core/base/initscripts (8 files)
Roman Kyrylych
roman.kyrylych at gmail.com
Thu Oct 18 11:51:01 UTC 2007
2007/10/18, Tobias Powalowski <tpowa at archlinux.org>:
> Modified: PKGBUILD (1.178 -> 1.179) inittab (1.4 -> 1.5)
> makedevs (1.7 -> 1.8) netcfg (1.15 -> 1.16) rc.conf (1.37 -> 1.38)
> rc.shutdown (1.31 -> 1.32) rc.single (1.16 -> 1.17)
> rc.sysinit (1.109 -> 1.110)
>
> 'upgpkg: trying to fix #6237,7554,7165,7641,5740'
>
>
> @@ -131,7 +131,7 @@
> [ "$WPAOPTS" ] || WPAOPTS="-Dwext"
> wpa_supplicant -wB -i ${WIFI_INTERFACE} -c ${WPA_CONF} $WPAOPTS
>
> - # I don´t know how we could determine if wpa_supplicant is ready
> + # I don�t know how we could determine if wpa_supplicant is ready
I see 3 chars - � instead of ' here.
> -# If locale is *.utf set console to Unicode mode
> -if [ "$(echo $LOCALE | /bin/grep -i utf)" ]; then
> +if echo "$LOCALE" | /bin/grep -qi utf ; then
> stat_busy "Setting Consoles to UTF-8"
> /usr/bin/kbd_mode -u
> - /usr/bin/dumpkeys | /bin/loadkeys --unicode
> + for i in $(seq 1 12); do
> + echo -ne "\e%G" >/dev/vc/${i}
> + done
> + stat_done
> + stat_busy "Loading Keyboard Map: $KEYMAP in utf-8 mode"
> + /bin/loadkeys -q -u "$KEYMAP" > /dev/null 2>&1
> +else
> + stat_busy "Loading Keyboard Map: $KEYMAP in legacy mode"
> + /bin/loadkeys -q "$KEYMAP" > /dev/null 2>&1
> +fi
> # the $CONSOLE check helps us avoid this when running scripts from cron
> echo 'if [ "$CONSOLE" = "" -a "$TERM" = "linux" -a -t 1 ]; then echo -ne "\e%G"; fi' >>/etc/profile.d/locale.sh
> stat_done
> -fi
As I mentioned in that bugreport - %G should probably stay in profile/lang.sh
(e.g. apply changes only from
Have you tried to do reset on plain-text terminal and see if UTF-8
mode doesn't disappear after that? (CONFIG_UNICODE will be default
only in 2.6.24)
I'll test all console and locale things again as soon as I'll setup my Arch box.
--
Roman Kyrylych (Роман Кирилич)
More information about the arch-commits
mailing list