From owner-freebsd-questions Thu Nov 22 16:30:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from atkielski.com (atkielski.com [161.58.232.69]) by hub.freebsd.org (Postfix) with ESMTP id 5474537B417 for ; Thu, 22 Nov 2001 16:30:08 -0800 (PST) Received: from contactdish (ASt-Lambert-101-2-1-14.abo.wanadoo.fr [193.251.59.14]) by atkielski.com (8.11.6) id fAN0TxL29137; Fri, 23 Nov 2001 01:29:59 +0100 (CET) Message-ID: <040801c173b5$fc5f66b0$0a00000a@atkielski.com> From: "Anthony Atkielski" To: "Giorgos Keramidas" Cc: 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> <20011122234941.GD498@hades.hell.gr> Subject: Re: How do I set vidcontrol modes? Date: Fri, 23 Nov 2001 01:29:53 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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 Thanks. I tried it, and it worked, but the fonts were pretty hard to read on a TFT screen. I ended up staying at 80x25, but changing to the swiss font, since I prefer a sans serif font. ----- Original Message ----- From: "Giorgos Keramidas" To: "Anthony Atkielski" Cc: Sent: Friday, November 23, 2001 00:49 Subject: Re: How do I set vidcontrol modes? > 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