I have 3 questions about the attached patch. On Mon, Jul 02, 2007 at 09:35:22AM +0100, Colin Watson wrote: > > if which locale >/dev/null; then > default_charmap=`locale charmap` > +elif [ -d /lib/debian-installer ]; then > + default_charmap=UTF-8 > else > - default_charmap=unknown # TODO: d-i > + default_charmap=unknown > fi > if [ "$locale" = C ]; then > default_charmap=UTF-8
Does this mean all locales now use UTF-8? Even if so, I'd prefer if console-setup doesn't mandate the use the UTF-8, but rather follows the orders of localechooser. Isn't it possible to add db_set debian-installer/charmap UTF-8 somewhere in localechooser? Then console-setup can read this value. > # Load the config file, if it exists. > if [ -e $CONFIGFILE ]; then > . $CONFIGFILE || true > > + got_full_config=yes > + got_xkboptions=yes > + model_priority=medium > + layout_priority=medium > default_ttys="$ACTIVE_CONSOLES" > default_charmap="$CHARMAP" > default_fontface="$FONTFACE" What is the purpose of this change? > diff -Nru > /tmp/2jEmYnoMDI/console-setup-1.16/debian/console-setup-udeb.startup > /tmp/Hk3Rjg0w7C/console-setup-1.16ubuntu4/debian/console-setup-udeb.startup > --- /tmp/2jEmYnoMDI/console-setup-1.16/debian/console-setup-udeb.startup > 1970-01-01 01:00:00.000000000 +0100 > +++ > /tmp/Hk3Rjg0w7C/console-setup-1.16ubuntu4/debian/console-setup-udeb.startup > 2007-05-02 12:41:00.000000000 +0100 > @@ -0,0 +1,11 @@ > +#! /bin/sh > + > +if [ "$TERM_TYPE" = virtual ]; then > + # Set console mode to Unicode, if necessary. > + if type kbd-mode >/dev/null 2>&1; then > + kbd-mode -u > + fi > + > + # TODO: support bootkbd= (may require teaching setupcon more about > + # ckbcomp-mini?) > +fi Why is this necessary? Doesn't setupcon automaticaly set the console mode to Unicode? Anton Zinoviev -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]