[Philip Blundell]
> Or perhaps it should be in a separate program that is invoked before
> termwrap during the initial boot.  (I.e. put it in
> boot-floppies/scripts/rootdisk somewhere and add it to
> inittab.install.)

The problem is that base-config must know if LANG uses a valid locale,
and if the current terminal can use it.  If any of this is false, it
must unset LANG (and LANGUAGE) to avoid printing garbage during
install.  So base-config needs to

 - Try to generate the locale listed in LANG, unset it if it is not
   valid. (before running 'locale charset')

 - Check if the LANG locale uses a supported charset, and choose the
   proper terminal based on this information. (in termwrap)

 - Check if the locale in LANG is valid, and if the current terminal
   can handle the charset, and unset LANG if it isn't (base-config)

Of course, these parts use almost the same algorithm, but it must be
done in sequence.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to