From owner-freebsd-questions@FreeBSD.ORG Tue Jul 11 12:55:16 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A81716A4DD for ; Tue, 11 Jul 2006 12:55:16 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7763F43D46 for ; Tue, 11 Jul 2006 12:55:14 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.pc (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.7/8.13.7/Debian-1) with ESMTP id k6BCstPs029735 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 11 Jul 2006 15:54:59 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.7/8.13.7) with ESMTP id k6BCsnG7077210; Tue, 11 Jul 2006 15:54:49 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.pc (8.13.7/8.13.7/Submit) id k6BCsmnn077209; Tue, 11 Jul 2006 15:54:48 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 11 Jul 2006 15:54:48 +0300 From: Giorgos Keramidas To: Peter Message-ID: <20060711125448.GA77175@gothmog.pc> References: <20060711085609.GC70153@gothmog.pc> <20060711124346.33919.qmail@web60017.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060711124346.33919.qmail@web60017.mail.yahoo.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.667, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.73, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions Subject: Re: been buggin' me for a while now (console resolution) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2006 12:55:16 -0000 On 2006-07-11 08:43, Peter wrote: >--- Giorgos Keramidas wrote: >>On 2006-07-10 23:32, Peter wrote: >>>--- Stubborn 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