Teach vidcontrol(1) and vt(4) to restore default font
Marcin Cieslak
saper at saper.info
Wed Sep 24 22:26:40 UTC 2014
On Sat, 13 Sep 2014, Benjamin Kaduk wrote:
> 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
Sure, it lives under https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193910 now.
//Marcin
More information about the freebsd-current
mailing list