summaryrefslogtreecommitdiffstats
path: root/usr.sbin/vidcontrol/vidcontrol.1
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-11-11 08:39:57 +0000
committered <ed@FreeBSD.org>2009-11-11 08:39:57 +0000
commitb9738de004ee6a85518ac03782f29e0e24e8200a (patch)
treeac9d89a27408d6aebabd29cad0f30389528083ff /usr.sbin/vidcontrol/vidcontrol.1
parentd551d6d2727cd8f942a1deb828424a69d1a99ff0 (diff)
downloadFreeBSD-src-b9738de004ee6a85518ac03782f29e0e24e8200a.zip
FreeBSD-src-b9738de004ee6a85518ac03782f29e0e24e8200a.tar.gz
Add a new flag to vidcontrol, -T, that allows terminal mode switching.
This will make it more easy for people to experiment with TERM=xterm. Instead of echoing these strange escape sequences, I can just instruct them to run `vidcontrol -T xterm'.
Diffstat (limited to 'usr.sbin/vidcontrol/vidcontrol.1')
-rw-r--r--usr.sbin/vidcontrol/vidcontrol.13
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/vidcontrol/vidcontrol.1 b/usr.sbin/vidcontrol/vidcontrol.1
index 2abaa1e..cb545ee 100644
--- a/usr.sbin/vidcontrol/vidcontrol.1
+++ b/usr.sbin/vidcontrol/vidcontrol.1
@@ -38,6 +38,7 @@
.Op Fl r Ar foreground Ar background
.Op Fl S Cm on | off
.Op Fl s Ar number
+.Op Fl T Cm xterm | cons25
.Op Fl t Ar N | Cm off
.Op Ar mode
.Op Ar foreground Op Ar background
@@ -243,6 +244,8 @@ is supposed to be physically secure.
.It Fl s Ar number
Set the current vty to
.Ar number .
+.It Fl T Cm xterm | cons25
+Switch between xterm and cons25 style terminal emulation.
.It Fl t Ar N | Cm off
Set the screensaver timeout to
.Ar N
OpenPOWER on IntegriCloud