font size in vt

Victor Sudakov vas at mpeks.tomsk.su
Wed Aug 24 04:44:36 UTC 2016


Roland Smith wrote:
> > > > 
> > > > I'm currently using vt(4) for my console on a 10.3-RELEASE system.
> > > > With the i915kms.ko loaded, my text console becomes 67 rows, 240 columns
> > > > (according to `stty -a`) with a very small font.
> 
> According to the newcons wiki and vt(4), you should be able to set the size with a
> sysctl, e.g:
> 
>     kern.vt.fb.default_mode="1024x768"

I have just checked out with `stty -a`, the number of rows and columns
changes dynamically when I change the font. So maybe if I find a font
large enough, there will be no need for this sysctl.

vgarom-8x16.fnt is not large enough for my eyes.

[dd]

> > 
> > And what's the rc.conf variable for setting the vidfont at boot time?
> 
> To set e.g. the ???gallant??? font, put
> 
>     allscreens_flags="-f gallant"
> 
> in /etc/rc.conf. This is passed to vidcontrol(1).

Thanks a lot!

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov at sibptus.tomsk.ru


More information about the freebsd-questions mailing list