aboutsummaryrefslogtreecommitdiff
path: root/toys/chvt.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/chvt.c')
-rw-r--r--toys/chvt.c19
1 files changed, 16 insertions, 3 deletions
diff --git a/toys/chvt.c b/toys/chvt.c
index 46040685..fbee3915 100644
--- a/toys/chvt.c
+++ b/toys/chvt.c
@@ -1,10 +1,23 @@
-/* vi: set sw=4 ts=4: */
-/*
+/* vi: set sw=4 ts=4:
+ *
* chvt.c switch virtual terminals
*
* Copyright (C) 2008 David Anders <danders@amltd.com>
*
- */
+ * Not in SUSv3.
+
+config CHVT
+ bool "chvt"
+ default y
+ help
+ usage: chvt N
+
+ Change to virtual terminal number N. (This only works in text mode.)
+
+ Virtual terminals are the Linux VGA text mode displays, ordinarily
+ switched between via alt-F1, alt-F2, etc. Use ctrl-alt-F1 to switch
+ from X to a virtual terminal, and alt-F6 (or F7, or F8) to get back.
+*/
#include "toys.h"