NIO CommKit Host Interface Installation and System Administration Manual
DKCU(1C) DKCU(1C)
E-9 CommKit Host Interface, Release 4.0
NAME
dkcu – call another host
SYNOPSIS
dkcu [ – s ] [ – f ] [ – d ] [ – v ] [ – x ] [ – b 7 | 8 ] 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 AT&T 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 destination
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.
–b bits Used to force the number of bits per character processed on the connection. Valid
values for bits are 7 and 8. The default is 7 bit characters unless the terminal is set for
8 bit characters and no stripping of input characters to 7 bits.
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.
~! Escape to an interactive shell on the local system.
~!cmd... Run cmd on the local system (via sh –c).
~$cmd... Run cmd locally and send its output as standard input to the remote system.
~%cd [ dir ] Change directory to $HOME or ’dir’ on the local system. Note: ~!cd will cause the
command to be run by a sub-shell, probably not what was intended.
~%take from [ to ] 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.
~%put from [ to ] Copy file from (on local system) to file to on remote system. If to is omitted, the from
argument is used in both places. Permission to create or overwrite the to file must be
allowed.
~%break Transmit a BREAK to the remote system (which can also be specified as ~%b).
~%debug Toggles the -d debugging option on or off (which can also be specified as %d).