Date: Fri, 23 Nov 2001 01:29:53 +0100 From: "Anthony Atkielski" <anthony@atkielski.com> To: "Giorgos Keramidas" <charon@labs.gr> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: How do I set vidcontrol modes? Message-ID: <040801c173b5$fc5f66b0$0a00000a@atkielski.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <charon@labs.gr> To: "Anthony Atkielski" <anthony@atkielski.com> Cc: <freebsd-questions@FreeBSD.ORG> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?040801c173b5$fc5f66b0$0a00000a>