From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 04:29:41 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 11D9516A405 for ; Thu, 8 Mar 2007 04:29:41 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id EA5F213C481 for ; Thu, 8 Mar 2007 04:29:40 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from insp.local (jn@c-76-23-109-98.hsd1.sc.comcast.net [76.23.109.98]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id l284TdXl024472; Wed, 7 Mar 2007 23:29:40 -0500 (EST) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-questions@freebsd.org Date: Wed, 7 Mar 2007 23:29:18 -0500 User-Agent: KMail/1.9.5 References: <2942dae0703071848w482d3b03t94e1e64f6322e0bd@mail.gmail.com> In-Reply-To: <2942dae0703071848w482d3b03t94e1e64f6322e0bd@mail.gmail.com> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703072329.19212.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: frzburn Subject: Re: Changing command-line 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: Thu, 08 Mar 2007 04:29:41 -0000 On Wednesday 07 March 2007 21:48, frzburn wrote: > Hi! > I was wondering if there is a way to change the command-line > resolution... Back then with Linux, I could adjust the resolution in grub > or lilo by passing some parameters to the kernel. Is there any way to do > the same thing in FreeBSD? > I wouldn't want to waste that big wide screen =P > > I got a Dell Inspiron 6400 (e1505) with an NVidia video card running > FreeBSD 6.2-STABLE amd64. Build and install a kernel with options VESA and SC_PIXEL_MODE. Reboot. Run "vidcontrol -i mode". Pick one you like and make a note of its number. Then do something similar to "vidcontrol -f 8x14 cp437-8x14.fnt MODE_NNN", replacing NNN with the mode you noted previously and 8x14 with one of 8x8, 8x14 or 8x16. The font file should match the font size and codepage you want your terminal to be in. Repeat until you find the settings you want, then add a line like this to /etc/rc.conf: allscreens_flags="-f 8x14 cp437-8x14.fnt MODE_NNN" using the same substitutions. See also man vidcontrol, man sc, and the FreeBSD handbook. JN