*** empty log message ***
authorroot <root>
Thu, 2 Feb 2006 00:24:14 +0000 (00:24 +0000)
committerroot <root>
Thu, 2 Feb 2006 00:24:14 +0000 (00:24 +0000)
Changes
doc/rxvtc.1.html
doc/rxvtc.1.man.in
doc/rxvtc.1.txt

diff --git a/Changes b/Changes
index 88ff742e28bd6d08c98f9aa2a6482ac64ce2c7dc..95f48f0afa5f19e835fbf14eb1df92e3cfaaba69 100644 (file)
--- a/Changes
+++ b/Changes
@@ -13,15 +13,13 @@ WISH: anyevent mouse notification / manage MotionMask better.
 WISH: http://www120.pair.com/mccarthy/nextstep/intro.htmld/Workspace.html is the correct nextstep look.
 DUMB: support tex fonts
 
-THINK: struct passwd *userinfo; /* defined in pwd.h + if ((userinfo = getpwuid(getuid())) != NULL) + shell = strdup(userinfo->pw_shell); /* retrieve current shell */ 
-
 TODO: xim "how to" faq entry
 
        - changed interpretation of [alpha] colour prefix.
         - +option now really sets the option to default, instead of using the
           resource value.
-        - options that require an agrument now _really_ require an argument.
-        - use exit status 2 in urxvtc when urxvtd couldn't be contacted.
+        - options that require an argument now really _require_ an argument.
+        - return exit status 2 in urxvtc when urxvtd couldn't be contacted.
         - the linux yield hack is back, now using usleep, and enabled only on
           __linux__.
         - further round trip eliminations in the !XFT case by remembering
index ad824066ebc175e28bbdc3294a0987f72acba92b..8b14a70b2456f56944bbe6594697c71bf61e57a6 100644 (file)
@@ -16,6 +16,7 @@
        <li><a href="#synopsis">SYNOPSIS</a></li>
        <li><a href="#description">DESCRIPTION</a></li>
        <li><a href="#options">OPTIONS</a></li>
+       <li><a href="#exit_status">EXIT STATUS</a></li>
        <li><a href="#environment">ENVIRONMENT</a></li>
        <li><a href="#see_also">SEE ALSO</a></li>
 </ul>
@@ -51,6 +52,16 @@ for options that specify a file descriptor (such as <strong>-pty-fd</strong>).</
 <p>
 </p>
 <hr />
+<h1><a name="exit_status">EXIT STATUS</a></h1>
+<p>If everything went well, rxvtc returns with an exit status of <code>0</code>.
+If contacting the daemon fails, it exits with the exit status <code>2</code>. In all other error
+cases it returns with status <code>1</code>.</p>
+<p>This can be used to implement auto-starting behaviour, by checking for an
+exit status of <code>2</code>, running <code>rxvtd -f -q</code> and retrying the call
+to rxvtc.</p>
+<p>
+</p>
+<hr />
 <h1><a name="environment">ENVIRONMENT</a></h1>
 <p>All environment variables of the current process will be made available
 to the new instance, and will be interpreted as if <strong>rxvt</strong> were
index 574f4c8b63e9173b24786ce80456e2c8098716f7..18eb947a82e6a998b629880561ae08257d34957c 100644 (file)
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.3
+.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.14
 .\"
 .\" Standard preamble:
 .\" ========================================================================
 .\" ========================================================================
 .\"
 .IX Title "rxvt 1"
-.TH rxvt 1 "2005-12-17" "5.9" "RXVT-UNICODE"
+.TH rxvt 1 "2006-02-02" "7.5" "RXVT-UNICODE"
 .SH "NAME"
 @@RXVT_NAME@@c \- control the @@RXVT_NAME@@d daemon
 .SH "SYNOPSIS"
@@ -148,6 +148,15 @@ All options that are valid for \fB@@RXVT_NAME@@\fR are valid for
 \&\fB@@RXVT_NAME@@c\fR, too. Please note that all options are currently
 interpreted in the context of the daemon process, which makes a difference
 for options that specify a file descriptor (such as \fB\-pty\-fd\fR).
+.SH "EXIT STATUS"
+.IX Header "EXIT STATUS"
+If everything went well, @@RXVT_NAME@@c returns with an exit status of \f(CW0\fR.
+If contacting the daemon fails, it exits with the exit status \f(CW2\fR. In all other error
+cases it returns with status \f(CW1\fR.
+.PP
+This can be used to implement auto-starting behaviour, by checking for an
+exit status of \f(CW2\fR, running \f(CW\*(C`@@RXVT_NAME@@d \-f \-q\*(C'\fR and retrying the call
+to @@RXVT_NAME@@c.
 .SH "ENVIRONMENT"
 .IX Header "ENVIRONMENT"
 All environment variables of the current process will be made available
index 7207178e46d04906e54934ac51715cc8a20f69d1..871987903a1ea13f60029033348d2e0418241f27 100644 (file)
@@ -16,6 +16,15 @@ OPTIONS
     daemon process, which makes a difference for options that specify a file
     descriptor (such as -pty-fd).
 
+EXIT STATUS
+    If everything went well, rxvtc returns with an exit status of 0. If
+    contacting the daemon fails, it exits with the exit status 2. In all
+    other error cases it returns with status 1.
+
+    This can be used to implement auto-starting behaviour, by checking for
+    an exit status of 2, running "rxvtd -f -q" and retrying the call to
+    rxvtc.
+
 ENVIRONMENT
     All environment variables of the current process will be made available
     to the new instance, and will be interpreted as if rxvt were started