Re: RES: text console size

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

 



Is this really related to the text console screens? Pixel resolution and numbers of colours sounds more like GUI to me, but all I want is to control the numbers of text characters.


On 26 Nov 2003, at 12:21, Harry Putnam wrote:


Ken Gillett <ken@xxxxxxxx> writes:

Sorry, you lost me there. I'm pretty sure that my machine uses grub,
not lilo. What would I need to change for that?

Same kind of deal. You'd edit the kernel line of /boot/grub/grub.conf and add something from the table to the end like this:

 kernel /boot/vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ vga=0x318
  (note => vga=<something from table>
The table that was posted got a little scambled by mail encoding but
I think it works like this:
The first line is a list of various resolutions:
     640x480 800x600 1024x768 1280x1024

The left column is the number of colors, so you'd find your hex
representation by coming across from the desired number of colors.
(I chose 16m) and go to the figure under the desired resolution.
(I chose 1024x768)  Giving me 0x318

Number of
Colors         640x480 800x600 1024x768 1280x1024
256             0x301   0x303    0x305    0x307
32k             0x310   0x313    0x316    0x319
64k             0x311   0x314    0x317    0x31A
16M             0x312   0x315    0x318    0x31B

So I  added `0x318' to the kernel line of grub.conf.
kernel /boot/vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ vga=0x318

You can try various combos to get the size you want.  It will depend
to some degree on the quality of your monitor.

I'm not sure how one arrives at the figures in the table.  Maybe some
math formula.  Someone here will probably know.


-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list




Ken G i l l e t t


_/_/_/_/_/_/_/_/_/


-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux