summaryrefslogtreecommitdiffstats
path: root/docs/system/keys.rst.inc
diff options
context:
space:
mode:
authorPeter Maydell2020-02-28 16:36:14 +0100
committerPeter Maydell2020-03-06 12:06:55 +0100
commitbf87bef09197da1e25980438056f9494e1b7cb7d (patch)
treee1f3ef174648894f1ded91a72ec45e235fe7bd8e /docs/system/keys.rst.inc
parentqemu-options.hx: Fix up the autogenerated rST (diff)
downloadqemu-bf87bef09197da1e25980438056f9494e1b7cb7d.tar.gz
qemu-bf87bef09197da1e25980438056f9494e1b7cb7d.tar.xz
qemu-bf87bef09197da1e25980438056f9494e1b7cb7d.zip
docs: Split out sections for the manpage into .rst.inc files
Sphinx doesn't have very good facilities for marking chunks of documentation as "put this in the manpage only". So instead we move the parts we want to put into both the HTML manuals and the manpage into their own .rst.inc files, which we can include from both the main manual rst files and a new toplevel rst file that will be the skeleton of the qemu.1 manpage. In this commit, just split out the parts of the documentation that go in the manpage. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Tested-by: Alex Bennée <alex.bennee@linaro.org> Message-id: 20200228153619.9906-29-peter.maydell@linaro.org
Diffstat (limited to 'docs/system/keys.rst.inc')
-rw-r--r--docs/system/keys.rst.inc35
1 files changed, 35 insertions, 0 deletions
diff --git a/docs/system/keys.rst.inc b/docs/system/keys.rst.inc
new file mode 100644
index 0000000000..bd9b8e5f6f
--- /dev/null
+++ b/docs/system/keys.rst.inc
@@ -0,0 +1,35 @@
+During the graphical emulation, you can use special key combinations to
+change modes. The default key mappings are shown below, but if you use
+``-alt-grab`` then the modifier is Ctrl-Alt-Shift (instead of Ctrl-Alt)
+and if you use ``-ctrl-grab`` then the modifier is the right Ctrl key
+(instead of Ctrl-Alt):
+
+Ctrl-Alt-f
+ Toggle full screen
+
+Ctrl-Alt-+
+ Enlarge the screen
+
+Ctrl-Alt\--
+ Shrink the screen
+
+Ctrl-Alt-u
+ Restore the screen's un-scaled dimensions
+
+Ctrl-Alt-n
+ Switch to virtual console 'n'. Standard console mappings are:
+
+ *1*
+ Target system display
+
+ *2*
+ Monitor
+
+ *3*
+ Serial port
+
+Ctrl-Alt
+ Toggle mouse and keyboard grab.
+
+In the virtual consoles, you can use Ctrl-Up, Ctrl-Down, Ctrl-PageUp and
+Ctrl-PageDown to move in the back log.