summaryrefslogtreecommitdiffstats
path: root/misc-utils/setterm.1
diff options
context:
space:
mode:
authorSamuel Thibault2007-11-27 23:54:35 +0100
committerKarel Zak2008-02-08 02:01:27 +0100
commit5c55d9bf1ae789fd25d5e4153c699134706c2e9f (patch)
treeb8e77479eea15b40e587f5ac06463cf1c4098718 /misc-utils/setterm.1
parentrtcwake: fix UTC time usage (diff)
downloadkernel-qcow2-util-linux-5c55d9bf1ae789fd25d5e4153c699134706c2e9f.tar.gz
kernel-qcow2-util-linux-5c55d9bf1ae789fd25d5e4153c699134706c2e9f.tar.xz
kernel-qcow2-util-linux-5c55d9bf1ae789fd25d5e4153c699134706c2e9f.zip
setterm: add -blan [force|poke] options for TIOCL_{BLANKED,BLANK}SCREEN
Linux has some interface to force an immediate blank (TIOCL_BLANK/UNBLANKSCREEN) or get the blank status (TIOCL_BLANKEDSCREEN), which is useful e.g. for blind people. Co-Author: Karel Zak <kzak@redhat.com> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/setterm.1')
-rw-r--r--misc-utils/setterm.110
1 files changed, 9 insertions, 1 deletions
diff --git a/misc-utils/setterm.1 b/misc-utils/setterm.1
index 86c3635da..ec4b6a885 100644
--- a/misc-utils/setterm.1
+++ b/misc-utils/setterm.1
@@ -133,10 +133,18 @@ Clears tab stops from the given horizontal cursor positions, in the range
Clears all tab stops, then sets a regular tab stop pattern, with one tab
every specified number of positions. Without an argument, defaults to 8.
.TP
-.BR \-blank " [0-60] (virtual consoles only)"
+.BR \-blank " [0-60|force|poke] (virtual consoles only)"
Sets the interval of inactivity, in minutes, after which the screen will be
automatically blanked (using APM if available). Without an argument,
defaults to 0 (disable console blanking).
+
+The
+.B force
+option keeps screen blank even if a key is pressed.
+
+The
+.B poke
+option returns which vt was blanked.
.TP
.BR \-dump " [1-NR_CONS]"
Writes a snapshot of the given virtual console (with attributes) to the file