1urxvt(1)                         RXVT-UNICODE                         urxvt(1)
2
3
4

NAME

6       urxvtc - control the urxvtd daemon
7

SYNOPSIS

9       urxvtc [same options as for urxvt]
10

DESCRIPTION

12       This manpage describes the urxvtc client program. It connects to the
13       urxvtd daemon and requests a new terminal window. It takes the same
14       arguments as the urxvt program. The environment will also be respected.
15       Currently, it always returns immediately after contacting the daemon.
16

OPTIONS

18       All options that are valid for urxvt are valid for urxvtc, too. Please
19       note that options are interpreted in the context of the daemon process.
20       However, as current working directory, process environment and any file
21       descriptor (e.g. for "-pty-fd") are preserved, this rarely makes a
22       difference.
23

EXIT STATUS

25       If everything went well, urxvtc returns with an exit status of 0.  If
26       contacting the daemon fails, it exits with the exit status 2. In all
27       other error cases it returns with status 1.
28
29       This can be used to implement auto-starting behaviour, by checking for
30       an exit status of 2, running "urxvtd -f -q" and retrying the call to
31       urxvtc, like this:
32
33          #!/bin/sh
34          urxvtc "$@"
35          if [ $? -eq 2 ]; then
36             urxvtd -q -o -f
37             urxvtc "$@"
38          fi
39

ENVIRONMENT

41       All environment variables of the current process will be made available
42       to the new instance, and will be interpreted as if urxvt were started
43       directly.
44
45       RXVT_SOCKET
46           Both urxvtc and urxvtd use the environment variable RXVT_SOCKET to
47           create a listening socket and to contact the urxvtd, respectively.
48           If the variable is missing, $HOME/.rxvt-unicode-<nodename> is used.
49           The variable must specify the absolute path of the socket to
50           create.
51

SEE ALSO

53       urxvt(7), urxvtd(1)
54
55
56
579.12                              2011-06-29                          urxvt(1)
Impressum