tcl.dev-att

Verb: Access/TCL, Releases: AP

Attaches a port to the current port.

Syntax

dev-att port.number

Description

attaches an unattached port to the current process. This command only changes ownership and is required prior to using the 'get' or 'send' statements in Pick/BASIC.

The user gets exclusive ownership of the attached port. No other processes are allowed to attach the port until the owner releases the port.

The port is detached by using the TCL verb 'dev-det', or by logging off.

If the target port is not linked to the current process, the target port must be unlinked by the 'unlink-pibdev' command, or use the (U) option to force the unlink.

Attaching to a device the current process is linked to does not remove that link.

Options

U Unlink the target device if required. Attachment fails on a linked device, unless the current process is linked to it.

Example

dev-att 3
Device # 3: Attached to Pib # 0

This attaches port 3 to process 0 (zero).

See Also

Command Name Type Description
tcl.link-pibdev Verb: Access Links the port to the device#.
tcl.dev-det Verb: Access Detaches a port from the current port.
tcl.unlink-pibdev Verb: Access Unlinks a process from a port.
basic.get Statement Gets raw characters from another port.
basic.send Statement Sends output to a specific port.
tcl.tandem Verb: Access Logically link two devices to the same process.
tcl.converse Verb: Access Connects current process to given device.
tcl.:ent-list Verb: Access List system entities
tcl.:ent-mon Verb: Access Monitor data sent to an entity
tcl.:ent-status Verb: Access displays the status of an entity, device or PIB.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.