* Denis Barbier [2004-07-24 22:51:00+0200] > 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.
It may be worth for the _generic_ termwrap. > If termwrap is needed outside of d-i, I suggest to have a minimal > termwrap-di to deal with Asian locales, and nothing more. Fully agreed with a minor notice. Being a d-i spesific script (not a generic one) this minimal termwrap should not be left as a crap in the installed system, though it doesn't harm. -- roktas
signature.asc
Description: Digital signature