FAQ
Hello list,

How can I change the init 3 shell default $COLUMNS ?
(I am trying to wean myself from GUI)

Thanks

Search Discussions

  • Alexander Dalloz at Aug 16, 2006 at 11:55 pm

    Yiorgos Stamoulis schrieb:

    How can I change the init 3 shell default $COLUMNS ?
    (I am trying to wean myself from GUI)
    Use framebuffer.

    Alexander
  • Yiorgos Stamoulis at Aug 17, 2006 at 12:36 am

    Alexander Dalloz wrote:
    Yiorgos Stamoulis schrieb:
    How can I change the init 3 shell default $COLUMNS ?
    (I am trying to wean myself from GUI)
    Use framebuffer.

    Alexander
    alexander,
    Can you be more specific? I am lost, what is framebuffer?

    Yiorgos
  • Alexander Dalloz at Aug 17, 2006 at 12:55 am

    Yiorgos Stamoulis schrieb:

    Alexander Dalloz wrote:
    Yiorgos Stamoulis schrieb:
    How can I change the init 3 shell default $COLUMNS ?
    (I am trying to wean myself from GUI)

    Use framebuffer.

    Alexander
    alexander,
    Can you be more specific? I am lost, what is framebuffer?

    Yiorgos
    http://en.wikipedia.org/wiki/Linux_framebuffer

    For example the RHGB boot (kernel line anaconda parameter "rhgb" in
    grub.conf) is a framebuffer mode.

    Details on how to configure framebuffer on your system depend on the
    graphics card.

    Alexander
  • Yiorgos Stamoulis at Aug 17, 2006 at 11:03 pm

    Alexander Dalloz wrote:
    Yiorgos Stamoulis schrieb:
    Alexander Dalloz wrote:
    Yiorgos Stamoulis schrieb:
    How can I change the init 3 shell default $COLUMNS ?
    (I am trying to wean myself from GUI)

    Use framebuffer.

    Alexander
    alexander,
    Can you be more specific? I am lost, what is framebuffer?

    Yiorgos
    http://en.wikipedia.org/wiki/Linux_framebuffer

    For example the RHGB boot (kernel line anaconda parameter "rhgb" in
    grub.conf) is a framebuffer mode.
    this will allow me to change the 'default' console columns/lines
    setting, right?
    Details on how to configure framebuffer on your system depend on the
    graphics card.

    Alexander
    I figured out that fbset could let me modify frame buffer device
    settings, but it gives an error if invoked in while in init 5 (console,
    not xterm!). It seems to work in init 3, so I have to figure out how it
    works properly.

    Thank you Alesxander

    Yiorgos
  • Will McDonald at Aug 18, 2006 at 9:52 am

    On 16/08/06, Yiorgos Stamoulis 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 vgaw3
    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.
  • Yiorgos Stamoulis at Aug 18, 2006 at 2:15 pm

    Will McDonald wrote:
    On 16/08/06, Yiorgos Stamoulis 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
    vgaw3
    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.
    _______________________________________________
    CentOS mailing list
    CentOS@centos.org
    http://lists.centos.org/mailman/listinfo/centos
    vgay5 works perfect !

    Thanks Will !!

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcentos @
categoriescentos
postedAug 16, '06 at 10:25p
activeAug 18, '06 at 2:15p
posts7
users3
websitecentos.org
irc#centos

People

Translate

site design / logo © 2022 Grokbase