aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-09-09 07:26:24 +0200
committerMattias Andrée <maandree@operamail.com>2014-09-09 07:26:24 +0200
commit4d2194902fea4e9897a6e29cdccd2fd4d324c6d9 (patch)
treed5a54c9a590a31231c9316e97991a850e5b2318d
parentthat is not necessary (diff)
downloadmds-4d2194902fea4e9897a6e29cdccd2fd4d324c6d9.tar.gz
mds-4d2194902fea4e9897a6e29cdccd2fd4d324c6d9.tar.bz2
mds-4d2194902fea4e9897a6e29cdccd2fd4d324c6d9.tar.xz
we cannot rely on chvt for vt switch, it requires root
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--TODO1
-rw-r--r--doc/info/mds.texinfo19
2 files changed, 20 insertions, 0 deletions
diff --git a/TODO b/TODO
index f976730..c23a311 100644
--- a/TODO
+++ b/TODO
@@ -23,6 +23,7 @@ Extra servers:
Missing commands:
reg clip screenshot slay
+ chvt
conf Command line interface for reconfiguring servers
Need testing:
diff --git a/doc/info/mds.texinfo b/doc/info/mds.texinfo
index 5603369..96a7e1c 100644
--- a/doc/info/mds.texinfo
+++ b/doc/info/mds.texinfo
@@ -777,6 +777,7 @@ Command: keyboard-enumeration\n
* mds-clip:: The clipboard control command.
* mds-screenshot:: The screenshot utility.
* mds-slay:: The process killing utility.
+* mds-chvt:: Utility for switching virtual terminal.
* External Utilities:: Suggestion on utilities you can utilise.
@end menu
@@ -1036,6 +1037,24 @@ The the ID of the selected window.
+@node mds-chvt
+@section @command{mds-chvt}
+
+@command{mds-chvt} is a utility similar to the command
+@command{chvt} from the @command{kbd} project. However,
+@command{mds-chvt} has setuid and therefore does not
+require root permissions, but it will only request a
+virtual terminal switch if the display server's virtual
+terminal is in the foreground. @command{mds-chvt}
+recognises the following options:
+
+@table @option
+@item --switch=VT
+Switch to the virtual terminal with the index @var{VT}.
+@end table
+
+
+
@node External Utilities
@section External Utilities