Teach vidcontrol(1) and vt(4) to restore default font

Benjamin Kaduk bjk at FreeBSD.org
Sun Sep 14 00:40:35 UTC 2014


On Sat, 13 Sep 2014, Marcin Cieslak wrote:

> Hello,
>
> I tried loading gallant.fnt which I did not
> like and I was wondering how to come back to
> the nice default font.
>
> There does not seem to be the way to do this,
> so please find below a simple patch to add
> this functionality.
>
> It adds a new ioctl PIO_VDFFONT to the vt(4)
> driver. I hope I got the reference counting
> on the vt_font_default structure right.
>
> With this patch applied, "vidcontrol -f" restores
> the built-in font.

Can you please submit this to our bug tracker so it doesn't get lost?

https://bugs.freebsd.org/submit

Thanks,

Ben


More information about the freebsd-current mailing list