You can use vidfont(1) to select a font for the console. I'm using Terminus BSD Console, size 32. Make it persistent with allscreens_flags="-f terminus-b32" in /etc/rc.conf. See also rc.conf(5) and vidcontrol(1), especially option -f. The font names to use in allscreens_flags are the ones found under /usr/share/vt/fonts.
Thanks! I've completely missed this variable.
As I need japanese font, I have if [ "vt" = `sysctl -n -q kern.vty` ]
then
keymap="jp.kbd"
if [ -r /usr/share/vt/fonts/b16.fnt ] ; then
vidcontrol -f /usr/share/vt/fonts/b16.fnt
fi
else
keymap="jp.106.kbd"
fi
in my /etc/rc.conf but it just sets font for ttyv0.
Changing vidcontrol line to use allscreens_flags= allow other vtys to use the same font as ttyv0.
An additional info:
In this case which terminus font is sufficient, you can put screen.font=16x32 in your /boot/loader.conf.
It would change font before kernel starts and all kernel messages before /etc/rc.conf is read would also changed.
Read man 5 loader.conf and /boot/fonts/INDEX.fonts for details.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.