1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Change Terminal Text Size

Discussion in 'General' started by TylerGriffiths, Mar 20, 2012.

  1. TylerGriffiths

    TylerGriffiths New Member

    Thanks Received:
    I wasn't sure where to put this, so I thought here would be the most appropriate place.

    I wanted to know if there is any way of changing the font size when running FreeBSD without a gui. On my 1440x900 monitor, the text comes up in about 30pt or so, but when I used Gentoo from the install cd the text was much smaller, even though it was commandline too.

    Can the font size be made smaller in FreeBSD?
  2. DutchDaemon

    DutchDaemon Administrator Staff Member Administrator Moderator

    Thanks Received:
    Well, it certainly wasn't. The first post in that sub-forum: Posting in Howtos & FAQs:

    Moved to General.
  3. OH

    OH New Member

    Thanks Received:
    Search for vidcontrol in this forum, you'll find lots of topics
  4. wblock@

    wblock@ Administrator Staff Member Administrator Moderator Developer

    Thanks Received:
    Linux often uses a bitmap console. FreeBSD uses actual text mode. A graphic mode can be used, but it's not particularly versatile. Using X For A High Resolution Console On FreeBSD shows how to use X for an equivalent hires console without a full GUI.

    It's really about increasing the screen resolution, which ends up making the fonts look smaller.
  5. freethread

    freethread Member

    Thanks Received:
    There is a trick to use 8x8 fonts (and perhaps 8x14 too). Also your kernel must be compiled with VESA and SC_PIXEL_MODE (this should be the default in 9.0-RELEASE), it works on real and virtual machines.

    Use vidcontrol to change text mode with 8x8 font:
    [CMD=">"]vidcontrol 80x50[/CMD]
    Then set a graphics hires mode
    [CMD=">"]vidcontrol MODE_nnn[/CMD]
    where nnn is one of the graphics mode, to list all available modes:
    [CMD=">"]vidcontrol -i mode[/CMD]

    Hope it works for you too.
    pestaa thanks for this.