DKCU (1C)

DKCU

NAME

dkcu call another host

SYNOPSIS

dkcu [ s ] [ f ] [ d ] [ v ] [ x ] destination

DESCRIPTION

dkcu dials another UNIX System, a terminal, or possibly a non-UNIX System. It manages an interactive conversation with possible transfers of ASCII files.

It places a call to the destination host or terminal on the data switch network. Several options are supported by dkcu:

s Suppresses the "Circuit Open" and other non-error messages.

f Forces a dkcu even if the user came in as a remote executor.

d Used to get tracing and diagnostic output.

v Local environment variables may be passed from the calling host to the desti- nation host by listing them in the local environment variable DKEXPORT (such as, 'DKEXPORT=TERM,LINES,COLUMNS'). When using this option, the destination should be appended by 'rl' and 'vt' flags (such as, 'dkcu - v destination.rl.vt') and the user should be authorized [see authorize(1M)] on the destination host.

x Requests that XON/XOFF output flow control be done locally; otherwise, XON/XOFF characters are passed through to the destination.

After making the connection, dkcu runs as two processes: the transmit process reads data from standard input and, except for lines beginning with '˜', passes it to the remote system. The receive process accepts data from the remote system and, except for lines beginning with '˜', passes it to standard output. Lines beginning with '˜' have special meanings.

The transmit process interprets the following:

˜ .

Terminate the conversation. If the program on the remote

 

host isn't reading input, typing the QUIT character twice,

 

rapidly, will break the connection.

˜!

˜!cmd . . .

˜$cmd . . .

˜%take from [ to ]

Escape to an interactive shell on the local system.

Run cmd on the local system (via 'sh c').

Run cmd locally and send its output as standard input to the remote system for execution.

Copy file from (on the remote system) to file to on the local system. If to is omitted, the from argument is used in both places.

E-6

Issue 3

Page 324
Image 324
HP LCS60 manual Dkcu 1C, ˜ !cmd ˜ $cmd ˜ %take from to