:dev-remov
The TCL command dev-remov removes a device.
dev-remov device
note: when using the dev-list as reference, use the “Ref#” as the device number.
device
Device name to remove. The device name is the concatenation of a one character device type code and the device number. The valid device types are:
T Telnet. The device number is the PIB number currently associated to the Telnet connection.
S Serial. The device number is the PIB number currently associated to the device.
L Line Printer. The device number is the form queue number.
M Magnetic Tapes (including floppy, pseudo, DAT, 8mm, etc). The device number is the tape number as shown when list-device is entered at TCL.
N NT Printer Process. The device number is the PIB number currently associated to the serial printer process.
Examples:
dev-remov t12
dev-remov s3
dev-remov l16
dev-remov m3
dev-remov n9
On a Telnet connection, this command disconnects the client.
On a Serial connection, this command frees the serial device for use by another Windows application.
On a Printer device, this command makes the form queue unavailable for printing.
On a magnetic device, this command removes the tape number 3 from the device list.
On an NT printer process, this command frees the PIB for use by another device, but the printer should be stopped with stopptr and killed with sp-kill before executing dev-remov.
A device can be added by the dev-make command.
NOTES:
1. After a dev-remov on a telnet or serial port, it may be necessary to issue a reset-user command if the process was not at logon.
2. A Telnet device may be removed, but there is no dev-make command for Telnet devices. They are created on demand when a client establishes a connection.