Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jjohn (22)

jjohn
  (email not shown publicly)
http://taskboy.com/
AOL IM: taskboy3000 (Add Buddy, Send Message)

Perl hack/Linux buff/OSS junkie.

Journal of jjohn (22)

Monday March 11, 2002
06:41 PM

Smaller console fonts on Red Hat 7.x

[ #3447 ]

This Linux tip brought to you by Russel "Soft Mount" Jones, sysadmin to the stars.

In the old days, when a fella wanted his console font smaller than 8x16, he used to edit /etc/lilo.conf and add the line 'vga=ext', ./lilo and reboot. And we liked it that way!

Along comes Red Hat 7.x and its fancy system initialization scripts. The fancy dans want to support internationalization and the cost of undoing the VGA setting in lilo! What monumental insolence! However, you can foil these villians with their own weapon: setsysfont. This program is called by the init file /etc/rc.d/init.d/keytable. It uses the file /etc/sysconfig/i18n to set the default console font. Mine looks like this:

LANG="en_US"
SUPPORTED="en_US:en"
SYSFONT="lat0-sun16"
SYSFONTACM="iso01"

The list of available console fonts is in /lib/kbd/consolefonts. It's the third line that does the screwing: SYSFONT. Change the bastard from 'lat0-sun16' to good ol' 'lat0-08', restart /etc/rc.d/init.d/keytable and say 'up yours!' to the man!

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.