On Thu, Sep 19, 2002 at 03:44:58PM +1000, Brendan Dacre wrote:
> Further investigation reveals that this restting appears to occur with 
> the message "Setting default font lat0-sun16".  This appears to be 
> called from an initialisation script "keytable" which in turn eventually 
> calls "consolechars".  This seems to set the console font and do what I 
> want, but in the initialisation script, it is using a variable to get 
> the font name.  Now I am stuck trying to find where this variable is set...

which distro is this? I'm used to seeing that stuff happen in
rc.sysinit.

> 
> I looked at the frame buffer stuff and it appeared to allow you to put 
> the console into a graphics mode rather than text mode, which is not 
> quite what I want at this stage.  That, my lack of knowledge/confidence 
> and some frustration were the main reasons behind my rather declamatory 
> statement about not wanting to compile the kernel (yet anyway).

I agree with previous posters that framebuffer is the way to go. You
just need something like "vga=791" in your lilo.conf if you're using a
stock mandrake kernel of relatively recent vintage.

That said I think the quickest way to find your setting is to do
something like:

find /etc -type f -exec grep -iln "lat0-sun16" {} \;

which will search etc for the file containing your font setting. I think
the program that sets your system font is /sbin/setsysfont. quick
grepping of my init scripts suggests that the file you're looking for is
/etc/sysconfig/i18n - which seems like a mildly odd place to put it, so
don't flame me if I'm wrong. (Mandrake 8.2 or cooker initscripts, I
can't remember which any more).

HTH and doesn't break your system :)

James.
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to