XX(1C) — Silicon Graphics
NAME
xx, xlogin − remote execution via XNS
SYNOPSIS
xx [ −xt ] host
xx [ −xt ] host command [ args ... ]
xlogin [ −xt ] host
DESCRIPTION
xlogin host runs and connects to a login process on the specified host. xx host runs and connects to a shell process on the specified host. xx host command ... runs and connects to command on the specified host. Connections are implemented using Silicon Graphics’ enhanced XNS networking software. Host is the Silicon Graphics bounce protocol system name of the intended remote system.
Standard input is copied to the standard input of the remote process. Standard output is copied from the standard output and standard error output of the remote process. This continues until the remote process closes the connection.
The forms xlogin host and xx host put the local terminal in raw mode; consequently echoing, interrupt characters, flow control, etc., are handled by the remote host.
The forms xx host and xx host command ... try to connect to an account on the remote host, with the same name as on the local system. If this remote account does not exist, they try to use the remote guest account. The remote process is started with the shell and home directory taken from the remote account being used. There is no provision for specifying a different account name or a password(!).
Note that in the form xx host command ... any unquoted shell metacharacters in command, are expanded on the local system.
The environment that xx sets up on the remote machine may be determined by entering the command sequence "xx host printenv" on the local system.
FLAGS
−xCauses flow control to be handled on the local terminal. By default it is handled by the remote host (see the note on the ~x escape command, below).
−tdisables escape commands (see below).
ESCAPE COMMANDS
The forms xlogin host and xx host (but not xx host command ...) interpret any input line beginning with a ~ character as an escape command. Escape commands are handled locally and are not copied to the remote IR host .
~.force the session to end. This may result in the remote process receiving a HANGUP signal.
~~send a single ~ character to the remote host.
~!start up a local shell (taken from the SHELL environment variable if any; else sh). Standard input is diverted to this shell until it exits.
~xtoggle the locus of flow control (ie, local or remote). The delay times for remote flow control are sometimes unacceptably long.
EXAMPLE
xx bertha cat info > localfile
copies the (remote) file info from host bertha to the local file localfile.
xx bertha cat info ’>’ remotefile
copies the (remote) file info from host bertha to another remote file, remotefile.
SEE ALSO
hostname(1), xcp(1C), xnsd(1M)
BUGS
The form xx host command ... cannot properly run an interactive command.
Remote standard error output should be copied to its local analogue, not standard output.
Exit status from the remote command is not returned.
Version 2.5r1 — December 06, 1986