ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvtc.1.man.in
(Generate patch)

Comparing rxvt-unicode/doc/rxvtc.1.man.in (file contents):
Revision 1.4 by root, Mon Jul 17 19:20:29 2006 UTC vs.
Revision 1.5 by root, Sat Jul 22 05:35:16 2006 UTC

127.\} 127.\}
128.rm #[ #] #H #V #F C 128.rm #[ #] #H #V #F C
129.\" ======================================================================== 129.\" ========================================================================
130.\" 130.\"
131.IX Title "@@RXVT_NAME@@ 1" 131.IX Title "@@RXVT_NAME@@ 1"
132.TH @@RXVT_NAME@@ 1 "2006-07-17" "7.8" "RXVT-UNICODE" 132.TH @@RXVT_NAME@@ 1 "2006-07-22" "7.8" "RXVT-UNICODE"
133.SH "NAME" 133.SH "NAME"
134@@RXVT_NAME@@c \- control the @@RXVT_NAME@@d daemon 134@@RXVT_NAME@@c \- control the @@RXVT_NAME@@d daemon
135.SH "SYNOPSIS" 135.SH "SYNOPSIS"
136.IX Header "SYNOPSIS" 136.IX Header "SYNOPSIS"
137\&\fB@@RXVT_NAME@@c\fR [same options as for @@RXVT_NAME@@] 137\&\fB@@RXVT_NAME@@c\fR [same options as for @@RXVT_NAME@@]
143will also be respected. Currently, it always returns immediately after 143will also be respected. Currently, it always returns immediately after
144contacting the daemon. 144contacting the daemon.
145.SH "OPTIONS" 145.SH "OPTIONS"
146.IX Header "OPTIONS" 146.IX Header "OPTIONS"
147All options that are valid for \fB@@RXVT_NAME@@\fR are valid for 147All options that are valid for \fB@@RXVT_NAME@@\fR are valid for
148\&\fB@@RXVT_NAME@@c\fR, too. Please note that all options are currently 148\&\fB@@RXVT_NAME@@c\fR, too. Please note that options are interpreted in the
149interpreted in the context of the daemon process, which makes a difference 149context of the daemon process. However, as current working directory,
150for options that specify a file descriptor (such as \fB\-pty\-fd\fR). 150process environment and any file handles (e.g. for \f(CW\*(C`\-pty\-fd\*(C'\fR) are
151preserved, this rarely makes a difference.
151.SH "EXIT STATUS" 152.SH "EXIT STATUS"
152.IX Header "EXIT STATUS" 153.IX Header "EXIT STATUS"
153If everything went well, @@RXVT_NAME@@c returns with an exit status of \f(CW0\fR. 154If everything went well, @@RXVT_NAME@@c returns with an exit status of \f(CW0\fR.
154If contacting the daemon fails, it exits with the exit status \f(CW2\fR. In all other error 155If contacting the daemon fails, it exits with the exit status \f(CW2\fR. In all other error
155cases it returns with status \f(CW1\fR. 156cases it returns with status \f(CW1\fR.
156.PP 157.PP
157This can be used to implement auto-starting behaviour, by checking for an 158This can be used to implement auto-starting behaviour, by checking for an
158exit status of \f(CW2\fR, running \f(CW\*(C`@@RXVT_NAME@@d \-f \-q\*(C'\fR and retrying the call 159exit status of \f(CW2\fR, running \f(CW\*(C`@@RXVT_NAME@@d \-f \-q\*(C'\fR and retrying the call
159to @@RXVT_NAME@@c. 160to @@RXVT_NAME@@c, like this:
161.PP
162.Vb 6
163\& #!/bin/sh
164\& @@RXVT_NAME@@c "$@"
165\& if [ $? \-eq 2 ]; then
166\& @@RXVT_NAME@@d \-q \-o \-f
167\& @@RXVT_NAME@@c "$@"
168\& fi
169.Ve
160.SH "ENVIRONMENT" 170.SH "ENVIRONMENT"
161.IX Header "ENVIRONMENT" 171.IX Header "ENVIRONMENT"
162All environment variables of the current process will be made available 172All environment variables of the current process will be made available
163to the new instance, and will be interpreted as if \fB@@RXVT_NAME@@\fR were 173to the new instance, and will be interpreted as if \fB@@RXVT_NAME@@\fR were
164started directly. 174started directly.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines