[CentOS] change default columns in init 3?

Fri Aug 18 09:52:37 UTC 2006
Will McDonald <wmcdonald at gmail.com>

On 16/08/06, Yiorgos Stamoulis <yiorgos-lists at 272deg.homelinux.net> wrote:
> Hello list,
>
> How can I change the init 3 shell default $COLUMNS ?
> (I am trying to wean myself from GUI)

You trying to get a higher resolution console? Here's some docs from
my local wiki...

Edit your grub or lilo config and add vga=NNN where NNN is either the
hex or decimal equivalent to your desired resolution from the tables
below.

title White Box Enterprise Linux hi-res (2.6.9-5.0.5.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-5.0.5.EL ro root=/dev/VolGroup00/LogVol00 vga=773
        initrd /initrd-2.6.9-5.0.5.EL.img

The tables for NNN (these may not line up right):

                640x480 	 800x600 	 1024x768 1280x1024
256 	0x301 	0x303 	0x305 	0x307
32k 	0x310 	0x313 	0x316 	0x319
64k 	0x311 	0x314 	0x317 	0x31A
16M 	0x312 	0x315 	0x318 	0x31B
	640x480 	800x600 	1024x768 	1280x1024
256 	769 	771 	773 	775
32k 	784 	787 	790 	793
64k 	785 	788 	791 	794
16M 	786 	789 	792 	795

See http://www.digitalhermit.com/linux/hiresconsole.html for loads more info.

Will.