diff options
author | dd <dd@FreeBSD.org> | 2002-07-10 03:31:25 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2002-07-10 03:31:25 +0000 |
commit | 3e96616fd4d65cc20b319ecfc987377952395e83 (patch) | |
tree | 0e242adad9d715a9c14ebbc75d18985c130af793 /usr.sbin/vidcontrol/vidcontrol.1 | |
parent | 88c4e380c406520b75512d25ec432486acf95ab5 (diff) | |
download | FreeBSD-src-3e96616fd4d65cc20b319ecfc987377952395e83.zip FreeBSD-src-3e96616fd4d65cc20b319ecfc987377952395e83.tar.gz |
Add an -S option that allows the user to disable vty switching. It is
implemented using a new VT_LOCKSWITCH ioctl. Although it is possible
to implement something like this by VT_SETMODEing to VT_PROCESS and
never releasing the vty, that method has a number of downsides, the
biggest of which is that some program has to stay resident for the
lock to be in effect.
Reviewed by: roam, sheldonh
Diffstat (limited to 'usr.sbin/vidcontrol/vidcontrol.1')
-rw-r--r-- | usr.sbin/vidcontrol/vidcontrol.1 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/vidcontrol/vidcontrol.1 b/usr.sbin/vidcontrol/vidcontrol.1 index 332643c..0fca733 100644 --- a/usr.sbin/vidcontrol/vidcontrol.1 +++ b/usr.sbin/vidcontrol/vidcontrol.1 @@ -13,7 +13,7 @@ .\" @(#)vidcontrol.1 .\" $FreeBSD$ .\" -.Dd May 27, 2001 +.Dd May 27, 2002 .Dt VIDCONTROL 1 .Os .Sh NAME @@ -36,6 +36,7 @@ .Op Fl M Ar char .Op Fl m Cm on | off .Op Fl r Ar foreground Ar background +.Op Fl S Cm on | off .Op Fl s Ar number .Op Fl t Ar N | Cm off .Op Ar mode @@ -213,6 +214,11 @@ Change reverse mode colors to .Ar foreground and .Ar background . +.It Fl S Cm on | off +Turn vty switching on or off. +When vty switching is off, +attempts to switch to a different virtual terminal will fail. +(The default is to permit vty switching.) .It Fl s Ar number Set the current vty to .Ar number . |