summaryrefslogtreecommitdiffstats
path: root/usr.sbin/vidcontrol/vidcontrol.1
diff options
context:
space:
mode:
authordumbbell <dumbbell@FreeBSD.org>2014-10-31 23:10:58 +0000
committerdumbbell <dumbbell@FreeBSD.org>2014-10-31 23:10:58 +0000
commit272ad10c66d236209624752a22cce70b7d1f7e49 (patch)
tree30ca08bb6f2c9b15c5f456741d1f09b18e2b2750 /usr.sbin/vidcontrol/vidcontrol.1
parenta916deff5e6d0cf6d71db832aec4d830323da5e5 (diff)
downloadFreeBSD-src-272ad10c66d236209624752a22cce70b7d1f7e49.zip
FreeBSD-src-272ad10c66d236209624752a22cce70b7d1f7e49.tar.gz
vt(4): Add PIO_VFONT_DEFAULT ioctl to restore the default builtin font
To restore the default font using vidcontrol(1), use the "-f" flag without an argument: vidcontrol -f < /dev/ttyv0 PR: 193910 Differential Revision: https://reviews.freebsd.org/D971 Submitted by: Marcin Cieslak <saper@saper.info> Reviewed by: ray@, emaste@ Approved by: ray@ MFC of: r273544
Diffstat (limited to 'usr.sbin/vidcontrol/vidcontrol.1')
-rw-r--r--usr.sbin/vidcontrol/vidcontrol.112
1 files changed, 12 insertions, 0 deletions
diff --git a/usr.sbin/vidcontrol/vidcontrol.1 b/usr.sbin/vidcontrol/vidcontrol.1
index 11aa604..cc6c0c7 100644
--- a/usr.sbin/vidcontrol/vidcontrol.1
+++ b/usr.sbin/vidcontrol/vidcontrol.1
@@ -26,9 +26,11 @@
.Op Fl c Ar appearance
.Oo
.Fl f
+.Oo
.Op Ar size
.Ar file
.Oc
+.Oc
.Op Fl g Ar geometry
.Op Fl h Ar size
.Op Fl i Cm adapter | mode
@@ -136,8 +138,10 @@ The latter is actually a simulation.
Print out current output screen map.
.It Xo
.Fl f
+.Oo
.Op Ar size
.Ar file
+.Oc
.Xc
Load font
.Ar file
@@ -158,6 +162,14 @@ may be omitted, in this case
.Nm
will try to guess it from the size of font file.
.Pp
+When using
+.Xr vt 4
+both
+.Ar size
+and
+.Ar font
+can be omitted, and the default font will be loaded.
+.Pp
Note that older video cards, such as MDA and CGA, do not support
software font.
See also
OpenPOWER on IntegriCloud