… | |
… | |
14 | |
14 | |
15 | <li><a href="#name">NAME</a></li> |
15 | <li><a href="#name">NAME</a></li> |
16 | <li><a href="#synopsis">SYNOPSIS</a></li> |
16 | <li><a href="#synopsis">SYNOPSIS</a></li> |
17 | <li><a href="#description">DESCRIPTION</a></li> |
17 | <li><a href="#description">DESCRIPTION</a></li> |
18 | <li><a href="#options">OPTIONS</a></li> |
18 | <li><a href="#options">OPTIONS</a></li> |
|
|
19 | <li><a href="#exit_status">EXIT STATUS</a></li> |
19 | <li><a href="#environment">ENVIRONMENT</a></li> |
20 | <li><a href="#environment">ENVIRONMENT</a></li> |
20 | <li><a href="#see_also">SEE ALSO</a></li> |
21 | <li><a href="#see_also">SEE ALSO</a></li> |
21 | </ul> |
22 | </ul> |
22 | <!-- INDEX END --> |
23 | <!-- INDEX END --> |
23 | |
24 | |
… | |
… | |
49 | interpreted in the context of the daemon process, which makes a difference |
50 | interpreted in the context of the daemon process, which makes a difference |
50 | for options that specify a file descriptor (such as <strong>-pty-fd</strong>).</p> |
51 | for options that specify a file descriptor (such as <strong>-pty-fd</strong>).</p> |
51 | <p> |
52 | <p> |
52 | </p> |
53 | </p> |
53 | <hr /> |
54 | <hr /> |
|
|
55 | <h1><a name="exit_status">EXIT STATUS</a></h1> |
|
|
56 | <p>If everything went well, rxvtc returns with an exit status of <code>0</code>. |
|
|
57 | If contacting the daemon fails, it exits with the exit status <code>2</code>. In all other error |
|
|
58 | cases it returns with status <code>1</code>.</p> |
|
|
59 | <p>This can be used to implement auto-starting behaviour, by checking for an |
|
|
60 | exit status of <code>2</code>, running <code>rxvtd -f -q</code> and retrying the call |
|
|
61 | to rxvtc.</p> |
|
|
62 | <p> |
|
|
63 | </p> |
|
|
64 | <hr /> |
54 | <h1><a name="environment">ENVIRONMENT</a></h1> |
65 | <h1><a name="environment">ENVIRONMENT</a></h1> |
55 | <p>All environment variables of the current process will be made available |
66 | <p>All environment variables of the current process will be made available |
56 | to the new instance, and will be interpreted as if <strong>rxvt</strong> were |
67 | to the new instance, and will be interpreted as if <strong>rxvt</strong> were |
57 | started directly.</p> |
68 | started directly.</p> |
58 | <dl> |
69 | <dl> |