Blame SOURCES/0006-man-add-application-x-virt-viewer-file-format-descri.patch

4a6991
From 56637ede6d6eaf612ca5a0838421de2eda8dea86 Mon Sep 17 00:00:00 2001
4a6991
From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com>
4a6991
Date: Thu, 8 Aug 2013 15:21:53 +0200
4a6991
Subject: [PATCH] man: add application/x-virt-viewer file format description
4a6991
4a6991
https://bugzilla.redhat.com/show_bug.cgi?id=970825
4a6991
(cherry picked from commit 692129ab4414a73ceafbcff33b92752fa63109d7)
4a6991
---
4a6991
 man/remote-viewer.pod | 176 ++++++++++++++++++++++++++++++++++++++++++++++++--
4a6991
 1 file changed, 171 insertions(+), 5 deletions(-)
4a6991
4a6991
diff --git a/man/remote-viewer.pod b/man/remote-viewer.pod
4a6991
index 2ad0872..a4710c8 100644
4a6991
--- a/man/remote-viewer.pod
4a6991
+++ b/man/remote-viewer.pod
4a6991
@@ -13,7 +13,10 @@ B<remote-viewer> is a simple remote display client. The supported
4a6991
 protocols are SPICE and VNC.
4a6991
 
4a6991
 Starting remote-viewer without URI will open a simple dialog with an
4a6991
-entry and a list of previously successfully access URI.
4a6991
+entry and a list of previously successfully accessed URI.
4a6991
+
4a6991
+The URI can also point to a connection settings file, see FILE section
4a6991
+for a description of the format.
4a6991
 
4a6991
 =head1 OPTIONS
4a6991
 
4a6991
@@ -62,10 +65,10 @@ Print debugging information
4a6991
 
4a6991
 =item -H HOTKEYS, --hotkeys HOTKEYS
4a6991
 
4a6991
-Override the default hotkey bindings with B<HOTKEYS>. Where B<HOTKEYS> is
4a6991
-<action1>=<key1>[+<key2>][,<action2>=<key3>[+<key4>]]. Key-names are
4a6991
-case-insensitive, valid actions are: toggle-fullscreen, release-cursor,
4a6991
-smartcard-insert and smartcard-remove. Examples:
4a6991
+Override the default hotkey bindings with B<HOTKEYS>. Where B<HOTKEYS>
4a6991
+is <action1>=<hotkey1>,<action2>=<hotkey2>... Valid
4a6991
+actions are: toggle-fullscreen, release-cursor, smartcard-insert and
4a6991
+smartcard-remove. Examples:
4a6991
 
4a6991
   --hotkeys=toggle-fullscreen=shift+f11,release-cursor=shift+f12
4a6991
 
4a6991
@@ -76,6 +79,169 @@ empty string disables all hotkeys.
4a6991
 
4a6991
 =back
4a6991
 
4a6991
+=head1 HOTKEY
4a6991
+
4a6991
+A key binding combination is described by a series of key strings
4a6991
+seperated by '+' that must be pressed together in order to activate
4a6991
+the associated action.
4a6991
+
4a6991
+It must be composed of modifiers (shift, ctrl or alt) and a
4a6991
+non-modifier key. For example, "shift+f11".
4a6991
+
4a6991
+=head1 FILE
4a6991
+
4a6991
+B<remote-viewer> connection file is of INI file format, with a
4a6991
+mandatory [virt-viewer] group and "type" key.
4a6991
+
4a6991
+=head2 Example
4a6991
+
4a6991
+Opening a file with the following content will start remote-viewer in
4a6991
+fullscreen and connect to the host "betsiboka" using the SPICE
4a6991
+protocol:
4a6991
+
4a6991
+ [virt-viewer]
4a6991
+ type=spice
4a6991
+ host=betsiboka
4a6991
+ port=5900
4a6991
+ fullscreen=1
4a6991
+
4a6991
+=head2 Key list
4a6991
+
4a6991
+=over 4
4a6991
+
4a6991
+=item C<version> (string)
4a6991
+
4a6991
+If remote-viewer version isn't at superior or equal to the required
4a6991
+version, an error is raised with the version expected.
4a6991
+
4a6991
+The version format accepted is a list of integers seperated by '.'.
4a6991
+
4a6991
+=item C<type> (string, mandatory)
4a6991
+
4a6991
+The session type, either "spice", "vnc" or "ovirt".
4a6991
+
4a6991
+=item C<host> (string, mandatory)
4a6991
+
4a6991
+The server host to connect to.
4a6991
+
4a6991
+=item C<port> (integer)
4a6991
+
4a6991
+The server port to connect to.
4a6991
+
4a6991
+=item C<tls-port> (integer)
4a6991
+
4a6991
+The server TLS/SSL port to connect to.
4a6991
+
4a6991
+=item C<username> (string)
4a6991
+
4a6991
+The username for the session authentication.
4a6991
+
4a6991
+=item C<password> (string)
4a6991
+
4a6991
+The password for the session authentication.
4a6991
+
4a6991
+=item C<disable-channels> (string list)
4a6991
+
4a6991
+The list of session channels to disable.
4a6991
+
4a6991
+The current SPICE channels are: main, display, inputs, cursor, playback, record, smartcard, usbredir.
4a6991
+
4a6991
+=item C<tls-ciphers> (string)
4a6991
+
4a6991
+Set the cipher list to use for the secure connection, in textual
4a6991
+OpenSSL cipher list format. (see ciphers(1))
4a6991
+
4a6991
+=item C<title> (string)
4a6991
+
4a6991
+String to present in the window title.
4a6991
+
4a6991
+=item C<fullscreen> (boolean)
4a6991
+
4a6991
+Opens the client windows in fullscreen.
4a6991
+
4a6991
+=item C<ca> (string)
4a6991
+
4a6991
+CA certificate in PEM format (using "\n" to seperate the lines), for verification purposes.
4a6991
+
4a6991
+=item C<host-subject> (string)
4a6991
+
4a6991
+Verify the certificate subject matches with the given subject.
4a6991
+
4a6991
+=item C<toggle-fullscreen> (hotkey string)
4a6991
+
4a6991
+Key binding for entering and leaving fullscreen mode. (see L<HOTKEY> for description of expected string)
4a6991
+
4a6991
+=item C<release-cursor> (hotkey string)
4a6991
+
4a6991
+Key binding for releasing cursor grab. (see L<HOTKEY> for description of expected string)
4a6991
+
4a6991
+=item C<smartcard-insert> (hotkey string)
4a6991
+
4a6991
+Key binding for inserting emulated smartcard. (see L<HOTKEY> for description of expected string)
4a6991
+
4a6991
+=item C<smartcard-remove> (hotkey string)
4a6991
+
4a6991
+Key binding for removing emulated smartcard. (see L<HOTKEY> for description of expected string)
4a6991
+
4a6991
+=item C<color-depth> (integer)
4a6991
+
4a6991
+Set the color depth of the guest display (16 or 32).
4a6991
+
4a6991
+=item C<disable-effects> (string list)
4a6991
+
4a6991
+A list of desktop effects to disable in the remote guest.
4a6991
+
4a6991
+The effects that can be disabled with SPICE are: wallpaper,
4a6991
+font-smooth, animation or all.
4a6991
+
4a6991
+=item C<enable-smartcard> (boolean)
4a6991
+
4a6991
+Set to 1 to enable client smartcard redirection.
4a6991
+
4a6991
+=item C<enable-usbredir> (boolean)
4a6991
+
4a6991
+Set to 1 to enable client USB device redirection.
4a6991
+
4a6991
+=item C<enable-usb-autoshare> (boolean)
4a6991
+
4a6991
+Set to 1 to enable client USB devices auto-sharing.
4a6991
+
4a6991
+=item C<usb-filter> (string)
4a6991
+
4a6991
+Set a string specifying a filter to use to determine which USB devices
4a6991
+to autoconnect when plugged in, a filter consists of one or more
4a6991
+rules. Where each rule has the form of:
4a6991
+
4a6991
+C<class,vendor,product,version,allow>
4a6991
+
4a6991
+Use -1 for class/vendor/product/version to accept any value.
4a6991
+
4a6991
+And the rules are themselves are concatonated like this:
4a6991
+
4a6991
+C<rule1|rule2|rule3>
4a6991
+
4a6991
+=item C<secure-channels> (string list)
4a6991
+
4a6991
+The list of session channels to secure.
4a6991
+
4a6991
+The current SPICE channels are: main, display, inputs, cursor, playback, record, smartcard, usbredir.
4a6991
+
4a6991
+=item C<delete-this-file> (boolean)
4a6991
+
4a6991
+Set to 1 for the client to remove this connection file (if it can't, it will fail silentely)
4a6991
+
4a6991
+=item C<proxy> (string)
4a6991
+
4a6991
+A proxy URL to tunnel the connection through.
4a6991
+
4a6991
+At the time of writing this documentation, the only supported proxy
4a6991
+method with Spice is HTTP CONNECT.
4a6991
+
4a6991
+For example, to tunnel connection through foobar host HTTP proxy on
4a6991
+port 8080, use the value "http://foobar:8080".
4a6991
+
4a6991
+=back
4a6991
+
4a6991
 =head1 EXAMPLES
4a6991
 
4a6991
 To connect to SPICE server on host "makai" with port 5900