Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xcmd(3N) — GL2 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sgboot(1M)

sgbounce(1M)

xcp(1C)

xlogin(1C)

xnsd(1M)

xx(1C)

utmp(3N)

xconnect(3N)

xnsfile(3N)

xnsioctl(3N)

xnslib(3N)

xnswrite(3N)

XCMD(3N)  —  Silicon Graphics

NAME

xcmd − execute a remote command via XNS
xsh − start a shell via XNS

SYNOPSIS

xcmd (host, command)
char *host, *command;

xsh (host)
char *host;

DESCRIPTION

Xcmd makes a network connection on socket EXECSOCKET, on host and causes command to be executed remotely.  It returns −1 if a connection can’t be made.  If the execution is successful, a file descriptor is returned, to which the remote process is attached.  Reads and writes to this file descriptor will retrieve/send data from/to the remote process. 

Xsh makes a network connection on socket XSHSOCKET on host and forks a shell.  It returns −1 if a connection can’t be made. 

SEE ALSO

sgboot(1M), sgbounce(1M), xcp(1C), xlogin(1C), xnsd(1M), xx(1C), utmp(3N), xconnect(3N), xnsfile(3N), xnsioctl(3N), xnslib(3N), xnswrite(3N)

Version 2.3  —  July 04, 1985

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026