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

Re: Language "categories" for localechooser



On Tue, Sep 06, 2005 at 06:48:03PM +0200, Christian Perrier wrote:
> I first imagined using DEBIAN_FRONTEND=text by assuming that using
> this crippled way to install probably means that one doesn't have a
> very display-friendly environment (s390 for instance).
> 
> Suggestions?

Why not probe for the terminal kind in some way, and have some heuristic
searching for it in some real way, instead of relying to user provided env
variables ? You can probe for a framebuffer i believe in either /proc/fb or
something such, or the dmesg output. not sure about the distinction between
7bit and 8bit consoles though, but it is probable that this value is stored in
some place too, or maybe gettable through a ioctl, after all those where
distinction coming to us from the old unices and their serial console terminal
heritage. No idea about gtk+ though.

Friendly,

Sven Luther



Reply to: