X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=driver%2Fxscreensaver-command.man;h=a3a92fa3fecc69fd53ef94290a5979a4ee528cc7;hp=835faa55283123b46a730abc6b5fff737883bdd7;hb=2a991a811de4c7b22f812682b267b616a809fd9a;hpb=ce3185de9d9705e259f2b60dd4b5509007fa17d4 diff --git a/driver/xscreensaver-command.man b/driver/xscreensaver-command.man index 835faa55..a3a92fa3 100644 --- a/driver/xscreensaver-command.man +++ b/driver/xscreensaver-command.man @@ -11,7 +11,7 @@ .if n .sp 1 .if t .sp .5 .. -.TH XScreenSaver 1 "02-Oct-98 (2.31)" "X Version 11" +.TH XScreenSaver 1 "08-Oct-98 (2.34)" "X Version 11" .SH NAME xscreensaver-command - control a running xscreensaver process .SH SYNOPSIS @@ -24,6 +24,7 @@ xscreensaver-command - control a running xscreensaver process [\-cycle] \ [\-next] \ [\-prev] \ +[\-select \fIn\fP] \ [\-exit] \ [\-restart] \ [\-lock] \ @@ -91,6 +92,12 @@ an easier way to accomplish that.) .B \-prev This is like \fI\-next\fP, but cycles in the other direction. .TP 8 +.B \-select \fInumber\fP +Like \fI\-activate\fP, but runs the \fIN\fPth element in the list of hacks. +By knowing what is in the \fIprograms\fP list, and in what order, you can use +this to activate the screensaver with a particular graphics demo. (The first +element in the list is numbered 1, not 0.) +.TP 8 .B \-exit Causes the xscreensaver process to exit gracefully. This is roughly the same as killing the process with @@ -131,6 +138,12 @@ Prints the time at which the screensaver last activated or deactivated (roughly, how long the user has been idle or non-idle: but not quite, since it only tells you when the screen became blanked or un-blanked.) +.SH DIAGNOSTICS +If an error occurs while communicating with the \fIxscreensaver\fP daemon, or +if the daemon reports an error, a diagnostic message will be printed to +stderr, and \fIxscreensaver-command\fP will exit with a non-zero value. If +the command is accepted, an indication of this will be printed to stdout, and +the exit value will be zero. .SH ENVIRONMENT .PP .TP 8 @@ -150,10 +163,6 @@ http://www.jwz.org/xscreensaver/ .SH "SEE ALSO" .BR X (1), .BR xscreensaver (1) -.SH BUGS -Some diagnostics are reported on the stderr of the \fIxscreensaver\fP -process, not this process, so the caller of \fIxscreensaver-command\fP -may not see the error messages. .SH COPYRIGHT Copyright \(co 1992, 1993, 1997, 1998 by Jamie Zawinski. Permission to use, copy, modify, distribute, and sell