1RSTART(1) General Commands Manual RSTART(1)
2
3
4
6 rstart - a sample implementation of a Remote Start client
7
9 rstart [-c context] [-g] [-l username] [-v] hostname command args ...
10
12 Rstart is a simple implementation of a Remote Start client as defined
13 in "A Flexible Remote Execution Protocol Based on rsh". It uses rsh as
14 its underlying remote execution mechanism.
15
17 -c context
18 This option specifies the context in which the command is to be
19 run. A context specifies a general environment the program is
20 to be run in. The details of this environment are host-spe‐
21 cific; the intent is that the client need not know how the
22 environment must be configured. If omitted, the context
23 defaults to X. This should be suitable for running X programs
24 from the host's "usual" X installation.
25
26 -g Interprets command as a generic command, as discussed in the
27 protocol document. This is intended to allow common applica‐
28 tions to be invoked without knowing what they are called on the
29 remote system. Currently, the only generic commands defined
30 are Terminal, LoadMonitor, ListContexts, and ListGenericCom‐
31 mands.
32
33 -l username
34 This option is passed to the underlying rsh; it requests that
35 the command be run as the specified user.
36
37 -v This option requests that rstart be verbose in its operation.
38 Without this option, rstart discards output from the remote's
39 rstart helper, and directs the rstart helper to detach the pro‐
40 gram from the rsh connection used to start it. With this
41 option, responses from the helper are displayed and the result‐
42 ing program is not detached from the connection.
43
45 This is a trivial implementation. Far more sophisticated implementa‐
46 tions are possible and should be developed.
47
48 Error handling is nonexistent. Without -v, error reports from the
49 remote are discarded silently. With -v, error reports are displayed.
50
51 The $DISPLAY environment variable is passed. If it starts with a
52 colon, the local hostname is prepended. The local domain name should
53 be appended to unqualified host names, but isn't.
54
55 The $SESSION_MANAGER environment variable should be passed, but isn't.
56
57 X11 authority information is passed for the current display.
58
59 ICE authority information should be passed, but isn't. It isn't com‐
60 pletely clear how rstart should select what ICE authority information
61 to pass.
62
63 Even without -v, the sample rstart helper will leave a shell waiting
64 for the program to complete. This causes no real harm and consumes
65 relatively few resources, but if it is undesirable it can be avoided by
66 explicitly specifying the "exec" command to the shell, eg
67 rstart somehost exec xterm
68 This is obviously dependent on the command interpreter being used on
69 the remote system; the example given will work for the Bourne and C
70 shells.
71
73 rstartd(1), rsh(1), A Flexible Remote Execution Protocol Based on rsh
74
76 Jordan Brown, Quarterdeck Office Systems
77
78
79
80X Version 11 rstart 1.0.2 RSTART(1)