LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-30-2005, 11:52 PM   #1
rookworm
LQ Newbie
 
Registered: Oct 2005
Distribution: debian sarge& windows xp
Posts: 21

Rep: Reputation: 15
Lightbulb Use X windows font in the console (text mode)


I have a system without X windows, and I was wondering whether (in order to fit more on the screen) it is possible to use a smaller font from x-windows. I am not sure what it is called (although I am sure we have all seen it before, see for example here. Severe eyestraining reveals that it is 5x9 or 5x10, I think), but I would like to know if it is possible to use it in text mode, and if so, where it may be available in (or how to convert to) psc.gz (I think) format for use with consolechars.

 
Old 10-31-2005, 05:25 PM   #2
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 806

Rep: Reputation: 43
I don't think that this is possible in the way you state.

What you want is to set the vga mode. Assuming you use lilo, you will have a stanza somewhat like this:

Code:
## Debian SID
image=/mnt/debian/boot/vmlinuz-2.6.12-1-686
        label="Debian_Sid_2.6.12"
        root=/dev/sda1
        initrd=/mnt/debian/boot/initrd.img-2.6.12-1-686
        vga=771
        read-only
Change the vga line to vga=ask

Now, from the lilo.conf man page:

Quote:
vga=<mode>
This specifies the VGA text mode that should be selected when
booting. It may be specified as a global option. The following
values are recognized (case is ignored):

normal: select normal 80x25 text mode.

extended (or ext): select 80x50 text mode.

ask: stop and ask for user input (at boot time).

<number>: use the corresponding text mode. A list of available
modes can be obtained by booting with vga=ask and pressing
[Enter].

If this variable is omitted, the VGA mode setting contained in
the kernel image is used. (And that is set at compile time using
the SVGA_MODE variable in the kernel Makefile, and can later be
changed with the rdev(8) program.)
So if you change this, or add the vga line if you don't have it, you can experiment with modes and the "hardwire" the one you want - or leave it at ask.

Run /sbin/lilo after editing the file.

I have a vague memory of having once seen this in action but haven't tried it. You might like to duplicate one of your existing stanzas (with a different identifier) rather than edit the existing one. It will make recovery easier is something goes wrong.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
2005LE: No text mode console at Ctrl+Alt+F2 JLP Mandriva 0 07-18-2005 12:21 PM
default font for text-mode artificialGekko Slackware 9 03-19-2005 01:55 AM
accessing text console in graphical mode? b123coder Linux - Software 1 11-17-2004 08:42 PM
How to boot into console (text) mode? dhsieh Linux - Hardware 2 10-02-2003 08:45 PM
Text Editor in Console Mode ? membrax Linux - Hardware 5 12-29-2002 12:14 AM


All times are GMT -5. The time now is 08:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration