Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Dec 2018 19:42:06 +0100
From:      Polytropon <freebsd@edvax.de>
To:        mayuresh@kathe.in
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to change text-console resolution
Message-ID:  <20181223194206.1833f3df.freebsd@edvax.de>
In-Reply-To: <55b5d06209acb007b2f4f9a4052e77b7@kathe.in>
References:  <55b5d06209acb007b2f4f9a4052e77b7@kathe.in>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 23 Dec 2018 18:49:49 +0530, Mayuresh Kathe wrote:
> is there any way to change the resolution of a regular text console? i 
> am not referring to x11/xorg here, just the pure-text tty console.

There is no text console in FreeBSD anymore, except you have

	kern.vty=sc

set in /boot/loader.conf, which is incompatible with X (if
you want to be able to use X on that machine).

However, you can try this in /boot/loader.conf:

	kern.vt.fb.default_mode="1024x768"

Adjust it to the actual size (in pixels) your display has.
If you're using a CRT - well, it doesn't have pixels... ;-)

You can also try this:

	hw.vga.textmode=0

For vt, you can try various things in /etc/rc.conf, depending
on the FreeBSD version you're using they may or may not work
as expected, or work at all. With vidcontrol, you can choose
a different font:

	allscreens_flags="-f gallant"

Of course, you cannot choose "80x25" or anything like that
in a convenient way. Neither can you influence the colors
which seem to be distorted.

So say good bye to the text mode and use X instead, where
setting options for xterm to make text readable again is
much easier. ;-)


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181223194206.1833f3df.freebsd>