[Bug 193910] New: vt(4): add ability to restore default font via vidcontrol(1) [patch]

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Sep 24 22:24:58 UTC 2014


            Bug ID: 193910
           Summary: vt(4): add ability to restore default font via
                    vidcontrol(1) [patch]
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: saper at saper.info

Created attachment 147651
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=147651&action=edit
Patch to add PIO_VDFTFONT ioctl to vt(4)

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.

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list