Date: Tue, 11 Jul 2006 15:54:48 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Peter <petermatulis@yahoo.ca> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: been buggin' me for a while now (console resolution) Message-ID: <20060711125448.GA77175@gothmog.pc> In-Reply-To: <20060711124346.33919.qmail@web60017.mail.yahoo.com> References: <20060711085609.GC70153@gothmog.pc> <20060711124346.33919.qmail@web60017.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-07-11 08:43, Peter <petermatulis@yahoo.ca> wrote: >--- Giorgos Keramidas <keramida@ceid.upatras.gr> wrote: >>On 2006-07-10 23:32, Peter <petermatulis@yahoo.ca> wrote: >>>--- Stubborn <coldlostsick@yahoo.com.sg> wrote: >>>> You need to recompile your kernel with below >>>> options VESA >>> >>> Allright, did that. >>> >>>> You need to include these in your rc.conf >>>> allscreens_flags="132x25" >>> >>> I'm trying manually first and it's a "no go". This is the output of >>> 'vidcontrol -i mode': > > [snip] > > 34 (0x022) 0x00000001 T 80x60 8x8 0xb8000 32k 32k 0x00000000 32k > >> The 132x25 mode doesn't work for all video adapters, AFAIK. >> >> The best I have been able to use almost everywhere is 80x30. > > I can manually get 80x60 with 'vidcontrol 80x60' and this is good > enough for me. How do I automate this at bootup? By setting your preferred mode in `/etc/rc.conf': allscreens_flags="80x30" Note that for non-default modes, you also have to set up a font in your `rc.conf' file, otherwise vidcontrol will refuse to change the console mode at bootup, so a more complete example would be: font8x8="iso-8x8.fnt" allscreens_flags="80x60" After saving these in your `/etc/rc.conf' file you don't have to reboot for them to take effect, something like the following should work too: hostname# /bin/sh # vidcontrol -f 8x8 iso-8x8.fnt # for dev in /dev/ttyv* ; do vidcontrol 80x60 < "$dev" ; done
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060711125448.GA77175>