repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 91c8cbbc7428f7f312a700badf01618bb68edcbc: path_to: revision_to:
commit 91c8cbbc7428f7f312a700badf01618bb68edcbc Author: Marc LehmannDate: Thu Feb 2 00:24:14 2006 +0000 *** empty log message *** diff --git a/Changes b/Changes
--- 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
diff --git a/doc/rxvtc.1.html b/doc/rxvtc.1.html
--- a/doc/rxvtc.1.html +++ b/doc/rxvtc.1.html @@ -16,6 +16,7 @@
+
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 diff --git a/doc/rxvtc.1.man.in b/doc/rxvtc.1.man.in
--- a/doc/rxvtc.1.man.in +++ b/doc/rxvtc.1.man.in @@ -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: .\" ======================================================================== @@ -129,7 +129,7 @@ .\" ======================================================================== .\" .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 diff --git a/doc/rxvtc.1.txt b/doc/rxvtc.1.txt
--- a/doc/rxvtc.1.txt
+++ b/doc/rxvtc.1.txt
@@ -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
-----END OF PAGE-----