… | |
… | |
19 | All options that are valid for B<@@RXVT_NAME@@> are valid for |
19 | All options that are valid for B<@@RXVT_NAME@@> are valid for |
20 | B<@@RXVT_NAME@@c>, too. Please note that all options are currently |
20 | B<@@RXVT_NAME@@c>, too. Please note that all options are currently |
21 | interpreted in the context of the daemon process, which makes a difference |
21 | interpreted in the context of the daemon process, which makes a difference |
22 | for options that specify a file descriptor (such as B<-pty-fd>). |
22 | for options that specify a file descriptor (such as B<-pty-fd>). |
23 | |
23 | |
|
|
24 | =head1 EXIT STATUS |
|
|
25 | |
|
|
26 | If everything went well, @@RXVT_NAME@@c returns with an exit status of C<0>. |
|
|
27 | If contacting the daemon fails, it exits with the exit status C<2>. In all other error |
|
|
28 | cases it returns with status C<1>. |
|
|
29 | |
|
|
30 | This can be used to implement auto-starting behaviour, by checking for an |
|
|
31 | exit status of C<2>, running C<@@RXVT_NAME@@d -f -q> and retrying the call |
|
|
32 | to @@RXVT_NAME@@c. |
|
|
33 | |
24 | =head1 ENVIRONMENT |
34 | =head1 ENVIRONMENT |
25 | |
35 | |
26 | All environment variables of the current process will be made available |
36 | All environment variables of the current process will be made available |
27 | to the new instance, and will be interpreted as if B<@@RXVT_NAME@@> were |
37 | to the new instance, and will be interpreted as if B<@@RXVT_NAME@@> were |
28 | started directly. |
38 | started directly. |
… | |
… | |
30 | =over 4 |
40 | =over 4 |
31 | |
41 | |
32 | =item B<RXVT_SOCKET> |
42 | =item B<RXVT_SOCKET> |
33 | |
43 | |
34 | Both @@RXVT_NAME@@c and @@RXVT_NAME@@d use the environment variable |
44 | Both @@RXVT_NAME@@c and @@RXVT_NAME@@d use the environment variable |
35 | F<RXVT_SOCKET> to create a listening socket and to contact |
45 | F<RXVT_SOCKET> to create a listening socket and to contact the |
36 | the @@RXVT_NAME@@d, respectively. If the variable is missing, |
46 | @@RXVT_NAME@@d, respectively. If the variable is missing, |
37 | F<<< $HOME/.rxvt-unicode-I<< <nodename> >> >>> is used. |
47 | F<<< $HOME/.rxvt-unicode-I<< <nodename> >> >>> is used. The variable must |
|
|
48 | specify the absolute path of the socket to create. |
38 | |
49 | |
39 | =back |
50 | =back |
40 | |
51 | |
41 | =head1 SEE ALSO |
52 | =head1 SEE ALSO |
42 | |
53 | |