Verb: Access/TCL

Command Verb: Access/TCL
Applicable release versions: AP 6.1, AP/Unix
Category TCL (746)
Description adds an entity to the system.
This command is normally used to add devices to the system. The most common usage is to create a serial device to be used with the Pick/BASIC GET and SEND statements, even if there is no Pick process connected to the device.

type Entity type: 'pib', 'serial', 'tcp', 'udp', 'telnet', 'queue'.

number Entity number. If not specified, the system allocates a number.

arg Optional arguments. There may be more than one '-a' option, or several arguments can be specified within one '-a' clause, separated by commas. The arguments depend on the type (see below).

serial: Unix device name, between quotes.

When the entity is successfully created, an entry is added to the 'devs' file, but NOT to the 'devs,init' file. See the description of the file 'devs' for more details.
Syntax dev-make -t type {-n number} {-a arg{,arg} {-a arg{,arg} ... }}
dev-make -t serial -n 100 -a '/dev/tty32'
  Create the serial device 's100' associated to the Unix device 
'/dev/tty32'. The device is reprogrammed 'Pick way', i.e., 
in raw mode, no echo. The hardware characteristics (baud rate, etc...) are 
unchanged. When the device is successfully created, the newly created device 
can be attached and used with Pick/BASIC SEND and GET statements. The hardware 
characteristics can be changed with the Pick 'set-port' command, 
using the full entity ID 's100', only once the device has been 
attached, because the device is not actually opened when the Pick entity is 
created, but only at attach time.
Related general.entity