Brian Cameron wrote:
>
> Yuntong:
>
> This does not seem like a complete fix to me. What is meant by
> a "following command"? How are users expected to use this feature?
> The manpage should explain.
>
> I notice that gqview also supports an option as follows:
>
> -rh,--remote-help print remote command list
>
> When I run "gqview --remote-help", I get the following output:
>
> Remote command list:
> -n , --next next image
> -b , --back previous image
> --first first image
> --last last image
> -f , --fullscreen toggle full screen
> -fs, --fullscreen-start start full screen
> -fS, --fullscreen-stop stop full screen
> -s , --slideshow toggle slide show
> -ss, --slideshow-start start slide show
> -sS, --slideshow-stop stop slide show
> -sr, --slideshow-recurse start recursive slide show
> -d , --delay= set slide show delay in seconds
> +t , --tools-show show tools
> -t , --tools-hide hide tools
> -q , --quit quit
>
> The manpage should explain how this is supposed to be used. I
> re-opened the bug report with my above comments.
>
> Brian
>
Brian,
-r option means send commands to an existing GQview process to
control it.
Like: bash-4.0$ gqview -r -n PID
All the remote command list in -rh,--remote-help.
Unlucky , the -r option doesn't work on OSOL, already filed a bug for it:
http://defect.opensolaris.org/bz/show_bug.cgi?id=13358
Revise the -r option and add -rh,--remote-help option in man page, the
functionality of "-r" option seems pretty obvious, should we need an
example here?
--- gqview.1.orig 2009-12-15 16:26:06.919908544 +0800
+++ gqview.1 2009-12-15 16:25:49.479627714 +0800
@@ -45,6 +45,14 @@
Open collection window for command line files.
.br
.B
+.IP -r, --remote
+send commands to an existing GQview process.
+.br
+.B
+.IP -rh,--remote-help
+print remote command list
+.br
+.B
.IP --debug
Turn on debugging output.
.br
-Simon
>
> yuntong.jin wrote:
>> Hi, pls review it.
>>
>> --- gqview-2.0.4/gqview.1.orig 2009-12-14 12:43:55.473926478 +0800
>> +++ gqview-2.0.4/gqview.1 2009-12-14 12:45:57.961332560 +0800
>> @@ -45,6 +45,10 @@
>> Open collection window for command line files.
>> .br
>> .B
>> +.IP -r,--remote
>> +send following commands to open window.
>> +.br
>> +.B
>> .IP --debug
>> Turn on debugging output.
>> .br
>>
>>
>> -Simon
>>
>