unlink-pibdev

unlink-pibdev


unix Index Level unlock-file
Syntax unlink-pibdev {process,} port.number
Category TCL
Type Verb
Description unlinks a process from a port.
This is typically used to disconnect a process from its associated terminal I/O so it can be controlled by the calling process. Controlling processes like "tandem", "mirror" or "converse" may not be unlinked.

If the "process" is omitted, the current process or PIB is unlinked.

The specified "port.number" must be previously linked to the "process" or the current "process" if the "process" argument is ommitted.
Options
See Also mirror converse port.number dev-att dev-det link-pibdev :ent-status
Example unlink-pibdev 3
Unlinks the current process from port 3.

unlink-pibdev 2,3
Unlinks process 2 from port 3.
Warnings A port may not be unlinked if it is in "tandem", "converse", or "mirror".

Problems may occur in some instances of the "converse" command, which can usually be solved using the "unlink-pibdev" command. For example, suppose ports 1 and 2 are physically connected and you are at port 0. Port 1 is called the "gateway" port and port 2 is the "destination" port. If you don't first issue an "unlink-pibdev 1,1" command, you may run into problem when restarting the converse the second time. When disconnecting from "converse" the first time, the last character is being echoed continously between ports 1 and 2 and that causes the Pick processes on ports 1 and 2 go into some unknown states. To avoid this problem, you MUST do 'unlink-pibdev gateway-pib,gateway-port'.
Compatibility D3 7.0 AP
unix Index Level unlock-file