NIO CommKit Host Interface Installation and System Administration Manual

DKCU(1C) DKCU(1C)
E-10 CommKit Host Interface, Release 4.0
~%divert Toggles unsolicited diversion (enabled/disabled) to files. When unsolicited diversion
is enabled, new-style diversion from standard output to a file is initiated by
~[local]>:filename, and is terminated by ~[local]>, where local is the nodename of the
local system. This enables ~%take to operate properly when dkcu is used over
multiple hops.
~%old Toggles old-style diversion syntax (enabled/disabled). When unsolicited diversion is
enabled, old-style diversion uses ~>:filename to initiate output diversion and ~> to
terminate it. Enabling old-style diversion does not prevent new-style diversion from
working.
~t Prints the values of the termio structure variables for the user’s terminal (useful for
debugging). See termio(4) for more information.
~~... Send the line ~... to the remote system.
The use of ~%put requires stty(1) and cat(1) on the remote side. It also requires that the current erase and kill
characters on the remote system be identical to the current ones on the local system. Backslashes are inserted
at appropriate places.
The use of ~%take requires the existence of echo(1) and cat(1) on the remote system. Also, stty tabs mode
should be set on the remote system if tabs are to be copied without expansion.
When dkcu is used on system A to connect to system B and subsequently used on system B to connect to
system C, commands on system B can be executed by using ~~. Executing a tilde command reminds the user
of the local system uname. For example, uname can be executed on C, A, and B as follows:
uname
C
~[A]!uname
A
~~[B]!uname
B
Note that [A] and [B] are output by dkcu, not typed by the user. In general, ~ causes the command to be
executed on the original machine while ~~ causes the command to be executed on the next machine in the
chain.
The suspend character (usually ^Z) puts the current foreground process of the remote system in the
background. The dkcu process of the local system can be suspended (placed in the background) with ~^Z.
Multiple Interfaces
If multiple interface boards are installed on the originating host, dkcu will use the default processing to select
the interface for the outgoing call. See dkdial(3X) and authorize(1M) for more information.
FILES
/opt/dk/bin directory in which this command resides
SEE ALSO
pull(1C), push(1C), authorize(1M), dkdial(3X)
cat(1), echo(1), stty(1), cu(1C), uucp(1C), termio(4) in the UNIX System V User’s Reference Manual
DIAGNOSTICS
Exit code is zero for normal termination initiated with ~. on the local host, non-zero otherwise.
WARNINGS
dkcu should be used with the -x option on terminals that are directly connected to a host.