Re: [ILUG] console text mode oddity

From: James Griffiths (jamesg at domain linsol.com)
Date: Wed 12 May 1999 - 11:58:04 IST


On Wed, 12 May 1999, Christian J van den Bosch wrote :
 
> goes back to common or garden 25 instead of 50 (number of columns stays
> at 132 though). The last line printed before the mode change refers to
> mounting user partitions, the first line after the mode change refers to
> turning on quotas.
>
> This seems to happen with any screen mode I choose which has >25 lines.

Between the mount command and the quota command in
/etc/rc.d/rc.sysinit, there is a call to setsysfont
- in the absence of any font config info, this is
calling /usr/bin/setfont. This in turn loads a default
font file which is designed for 25 line mode.

RedHat provides a mechanism for using a different font
the script /sbin/setsysfont sources a file
/etc/sysconfig/i18n. If this file sets a SYSFONT
variable, RedHat will use this as an arg to setfont.
The default RedHat install doesn't create the
/etc/sysconfig/i18n file.

For comparison, SuSE Linux stores a font name in
/etc/rc.config and uses this value to set the font
in /sbin/init.d/boot.setup.

Hope this helps,

James Griffiths
Linux Solutions
http://www.linsol.com/



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:12 GMT