ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvtc.1.html
Revision: 1.7
Committed: Sun Jun 24 22:12:18 2007 UTC (17 years, 1 month ago) by root
Content type: text/html
Branch: MAIN
Changes since 1.6: +62 -64 lines
Log Message:
use pod2xhtml and our stylesheet

File Contents

# User Rev Content
1 root 1.7 <?xml version="1.0" encoding="UTF-8"?>
2     <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3     <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
4 root 1.1 <head>
5 root 1.7 <title>rxvtc</title>
6     <meta name="description" content="Pod documentation for rxvtc" />
7     <meta name="inputfile" content="&lt;standard input&gt;" />
8     <meta name="outputfile" content="&lt;standard output&gt;" />
9     <meta name="created" content="Mon Jun 25 00:11:17 2007" />
10     <meta name="generator" content="Pod::Xhtml 1.57" />
11     <link rel="stylesheet" href="http://res.tst.eu/pod.css"/></head>
12     <body>
13     <div class="pod">
14     <!-- INDEX START -->
15     <h3 id="TOP">Index</h3>
16    
17     <ul><li><a href="#NAME">NAME</a></li>
18     <li><a href="#SYNOPSIS">SYNOPSIS</a></li>
19     <li><a href="#DESCRIPTION">DESCRIPTION</a></li>
20     <li><a href="#OPTIONS">OPTIONS</a></li>
21     <li><a href="#EXIT_STATUS">EXIT STATUS</a></li>
22     <li><a href="#ENVIRONMENT">ENVIRONMENT</a></li>
23     <li><a href="#SEE_ALSO">SEE ALSO</a>
24     </li>
25     </ul><hr />
26 root 1.1 <!-- INDEX END -->
27    
28 root 1.7 <h1 id="NAME">NAME</h1><p><a href="#TOP" class="toplink">Top</a></p>
29     <div id="NAME_CONTENT">
30 root 1.5 <p>rxvtc - control the rxvtd daemon</p>
31 root 1.7
32     </div>
33     <h1 id="SYNOPSIS">SYNOPSIS</h1><p><a href="#TOP" class="toplink">Top</a></p>
34     <div id="SYNOPSIS_CONTENT">
35 root 1.5 <p><strong>rxvtc</strong> [same options as for rxvt]</p>
36 root 1.7
37     </div>
38     <h1 id="DESCRIPTION">DESCRIPTION</h1><p><a href="#TOP" class="toplink">Top</a></p>
39     <div id="DESCRIPTION_CONTENT">
40 root 1.5 <p>This manpage describes the <strong>rxvtc</strong> client program. It connects
41     to the <strong>rxvtd</strong> daemon and requests a new terminal window. It
42     takes the same arguments as the <strong>rxvt</strong> program. The environment
43 root 1.1 will also be respected. Currently, it always returns immediately after
44     contacting the daemon.</p>
45 root 1.7
46     </div>
47     <h1 id="OPTIONS">OPTIONS</h1><p><a href="#TOP" class="toplink">Top</a></p>
48     <div id="OPTIONS_CONTENT">
49 root 1.5 <p>All options that are valid for <strong>rxvt</strong> are valid for
50     <strong>rxvtc</strong>, too. Please note that options are interpreted in the
51     context of the daemon process. However, as current working directory,
52 root 1.6 process environment and any file descriptor (e.g. for <code>-pty-fd</code>) are
53 root 1.5 preserved, this rarely makes a difference.</p>
54 root 1.7
55     </div>
56     <h1 id="EXIT_STATUS">EXIT STATUS</h1><p><a href="#TOP" class="toplink">Top</a></p>
57     <div id="EXIT_STATUS_CONTENT">
58 root 1.5 <p>If everything went well, rxvtc returns with an exit status of <code>0</code>.
59 root 1.3 If contacting the daemon fails, it exits with the exit status <code>2</code>. In all other error
60     cases it returns with status <code>1</code>.</p>
61     <p>This can be used to implement auto-starting behaviour, by checking for an
62 root 1.5 exit status of <code>2</code>, running <code>rxvtd -f -q</code> and retrying the call
63     to rxvtc, like this:</p>
64 root 1.7 <pre> #!/bin/sh
65 root 1.5 rxvtc &quot;$@&quot;
66     if [ $? -eq 2 ]; then
67     rxvtd -q -o -f
68     rxvtc &quot;$@&quot;
69 root 1.7 fi
70    
71     </pre>
72    
73     </div>
74     <h1 id="ENVIRONMENT">ENVIRONMENT</h1><p><a href="#TOP" class="toplink">Top</a></p>
75     <div id="ENVIRONMENT_CONTENT">
76 root 1.1 <p>All environment variables of the current process will be made available
77 root 1.5 to the new instance, and will be interpreted as if <strong>rxvt</strong> were
78 root 1.1 started directly.</p>
79     <dl>
80 root 1.7 <dt><strong>RXVT_SOCKET</strong></dt>
81     <dd>
82     <p>Both rxvtc and rxvtd use the environment variable
83     <cite>RXVT_SOCKET</cite> to create a listening socket and to contact the
84 root 1.5 rxvtd, respectively. If the variable is missing,
85 root 1.7 <cite>$HOME/.rxvt-unicode-<i>&lt;nodename&gt;</i></cite> is used. The variable must
86 root 1.4 specify the absolute path of the socket to create.</p>
87 root 1.7 </dd>
88 root 1.4 </dl>
89 root 1.1
90 root 1.7 </div>
91     <h1 id="SEE_ALSO">SEE ALSO</h1><p><a href="#TOP" class="toplink">Top</a></p>
92     <div id="SEE_ALSO_CONTENT">
93     <p>rxvt(7), rxvtd(1)</p>
94 root 1.1
95 root 1.7 </div>
96     </div></body>
97 root 1.1 </html>