summaryrefslogtreecommitdiffstats
path: root/usr.sbin/vidcontrol/vidcontrol.1
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-01-25 16:53:22 +0000
committersobomax <sobomax@FreeBSD.org>2001-01-25 16:53:22 +0000
commit8926e07b424a3df32408a4cb747e17688f48f985 (patch)
treed03ad187389d8b06c0c10f1802b27306ccfd5607 /usr.sbin/vidcontrol/vidcontrol.1
parentcee6fd7dd798ef38aa7b0d75df559166d0300a34 (diff)
downloadFreeBSD-src-8926e07b424a3df32408a4cb747e17688f48f985.zip
FreeBSD-src-8926e07b424a3df32408a4cb747e17688f48f985.tar.gz
New option `-g' to allow selecting custom text geometry in VESA_800x600 raster
text mode. For example `vidcontrol -g 100x37 VESA_800x600' will setup 100x37 text mode as opposed to default 80x25. Reviewed by: imp
Diffstat (limited to 'usr.sbin/vidcontrol/vidcontrol.1')
-rw-r--r--usr.sbin/vidcontrol/vidcontrol.118
1 files changed, 18 insertions, 0 deletions
diff --git a/usr.sbin/vidcontrol/vidcontrol.1 b/usr.sbin/vidcontrol/vidcontrol.1
index 07b094b..e656213 100644
--- a/usr.sbin/vidcontrol/vidcontrol.1
+++ b/usr.sbin/vidcontrol/vidcontrol.1
@@ -25,6 +25,7 @@
.Op Fl c Ar appearance
.Op Fl d
.Op Fl f Ar size Ar file
+.Op Fl g Ar geometry
.Op Fl i Cm adapter | mode
.Op Fl l Ar screen_map
.Op Fl L
@@ -159,6 +160,18 @@ and
.Sx EXAMPLES
below and the man page for
.Xr syscons 4 .
+.It Fl g Ar geometry
+Set the
+.Ar geometry
+of the text mode for the modes with selectable
+geometry. Currently only raster modes, such as
+.Ar VESA_800x600 ,
+support this option.
+See also
+.Sx Video Mode Support
+and
+.Sx EXAMPLES
+below.
.It Fl s Ar number
Set the current vty to
.Ar number .
@@ -283,6 +296,11 @@ option if the file is found in
.Pp
The above command will load
.Pa /usr/share/syscons/scrnmaps/iso-8859-1_to_cp437.scm .
+.Pp
+The following command will set-up a 100x37 raster text mode (useful for
+some LCD models):
+.Pp
+.Dl vidcontrol -g 100x37 VESA_800x600
.Sh SEE ALSO
.Xr kbdcontrol 1 ,
.Xr vidfont 1 ,
OpenPOWER on IntegriCloud