From owner-freebsd-questions Thu Nov 22 15:55:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id C12DD37B416 for ; Thu, 22 Nov 2001 15:55:34 -0800 (PST) Received: from hades.hell.gr (patr530-a012.otenet.gr [212.205.215.12]) by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id fAMNtTY00657; Fri, 23 Nov 2001 01:55:29 +0200 (EET) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id fAMNnfY02647; Fri, 23 Nov 2001 01:49:41 +0200 (EET) (envelope-from charon@labs.gr) Date: Fri, 23 Nov 2001 01:49:41 +0200 From: Giorgos Keramidas To: Anthony Atkielski Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How do I set vidcontrol modes? Message-ID: <20011122234941.GD498@hades.hell.gr> References: <014d01c1721d$74e0c470$0a00000a@atkielski.com> <20011120164631.B11629@museum.rain.com> <01bd01c17227$0da4f510$0a00000a@atkielski.com> <035e01c1722a$8a37f340$2813933f@cat> <01de01c17230$c3ccf370$0a00000a@atkielski.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01de01c17230$c3ccf370$0a00000a@atkielski.com> User-Agent: Mutt/1.3.23.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2001-11-21 03:03:44, Anthony Atkielski wrote: > > Look at what is listed in the "size" column from > > _vidcontrol -i mode_ > > > > i.e. 40x25, 132x43, etc. > > those are exactly the "keywords" you are looking for and > > exactly what you were told the first time. > > And that's exactly what doesn't work. In the list of valid modes produced by > the command, one contains "132x50" in the "size" column. However, when I try to > specify this, I get > > freebie# vidcontrol 132x50 > vidcontrol: cannot set videomode: Invalid argument By default no font is loaded for modes that have 8x8 characters. Your mode, as shown by the following command is one of these: % vidcontrol -i mode | grep 132 265 (0x109) 0x00000009 T 132x25 8x16 0xb8000 32k 32k 0x00000000 2048k 266 (0x10a) 0x00000009 T 132x43 8x8 0xb8000 32k 32k 0x00000000 2048k If you want to use a mode that uses 8x8 characters, you need to load a font for 8x8 characters first. This is done with vidcontrol too. Just run: % vidcontrol -f 8x8 FONT Where font is the name of a valid 8x8 font. Look at /usr/share/syscons/fonts for the available fonts. On my system these are: % ( cd /usr/share/syscons/fonts ; ls *8x8* ) cp1251-8x8.fnt cp866-8x8.fnt iso08-8x8.fnt cp437-8x8.fnt cp866u-8x8.fnt iso15-8x8.fnt cp437-thin-8x8.fnt iso-8x8.fnt koi8-r-8x8.fnt cp850-8x8.fnt iso02-8x8.fnt koi8-u-8x8.fnt cp850-thin-8x8.fnt iso04-8x8.fnt swiss-8x8.fnt cp865-8x8.fnt iso04-vga9-8x8.fnt cp865-thin-8x8.fnt iso07-8x8.fnt Pick yours, and just load it before trying to change your video mode to 132x50. -giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message