ubase

suckless linux base utils
git clone git://git.2f30.org/ubase.git
Log | Files | Refs | README | LICENSE

commit 4a53dd4fba626de4bab90c8496dcf7c5ed656ca2
parent 89d1e77e7f796f43caa8ff069172b4cba44e8a31
Author: sin <sin@2f30.org>
Date:   Fri Dec  5 15:41:13 +0000

Add vtallow.1

Diffstat:
Makefile | 1+
vtallow.1 | 22++++++++++++++++++++++
vtallow.c | 2+-
3 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile @@ -110,6 +110,7 @@ MAN1 = \ truncate.1 \ unshare.1 \ uptime.1 \ + vtallow.1 \ watch.1 \ who.1 diff --git a/vtallow.1 b/vtallow.1 @@ -0,0 +1,22 @@ +.Dd December 5, 2014 +.Dt VTALLOW 1 ubase\-VERSION +.Os +.Sh NAME +.Nm vtallow +.Nd enable or disable the VT switch +.Sh SYNOPSIS +.Nm vtallow +.Ar n | Ar y +.Sh DESCRIPTION +.Nm +controls the VT switch lock. +.Pp +.Sh OPTIONS +.Bl -tag -width Ds +.It Ar n +Disable VT switching. +.It Ar y +Enable VT switching. +.El +.Sh SEE ALSO +.Xr chvt 1 diff --git a/vtallow.c b/vtallow.c @@ -18,7 +18,7 @@ static void usage(void) { - eprintf("usage: vtallow n|y\n"); + eprintf("usage: vtallow n | y\n"); } int