[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#250789: Please fix this bug!



On Sat, Jul 24, 2004 at 07:46:51PM +0300, Recai Oktas wrote:
[...]
> > The only think we need termwrap for then is to wrap a UTF-8 frame
> > buffer terminal around base-config for the languages with more then
> > 512 glyphs.
> 
> Agreed.  Only the asian consoles should be treated differently.

Agreed too.

> > I suggest we patch languagechooser to update /etc/locale.gen and
> > /etc/environment to set the default locale, and remove the locale
> > generating code from termwrap.  I also suggest we teach termwarp to
> > look in the data file for console-tool (is this
> > /etc/console-tool/config?  The variables seem to be SCREEN_FONT and
> > SCREEN_FONT_MAP), and tell it to use these values if available as the
> > default instead of ISO-8859-1.  This way the termwrap tool is still a
> > generic wrapper to run programs with correct console font and locale,
> > while the locale generating is moved to a more sensible place.
> 
> No, instead of SCREEN_FONT_MAP, we should use APP_CHARSET_MAP (hence 
> acm) which has already been changed in languagechooser.

I do not follow you here, you state above that termwrap is not needed
with console-tools.  As base-config is run after reboot, console has
then been configured, parsing /etc/console-tools/config is useless.

If termwrap is needed outside of d-i, I suggest to have a minimal
termwrap-di to deal with Asian locales, and nothing more.

Denis



Reply to: