Technical data

Managing Peripheral Devices
8.6 Managing Terminals
8.6.1.2 Setting Characteristics in System Startup
To execute SET TERMINAL commands each time your system boots, add these
commands to a site-specific startup command procedure. If your configuration
is simple, you can add the commands to SYSTARTUP_VMS.COM. If your
configuration requires a large number of commands, create a separate
command procedure (for example, TERM_SETUP.COM) and execute it from
the SYSTARTUP_VMS.COM. When the device setup command procedure finishes
executing, control returns to SYSTARTUP_VMS.COM.
Caution
Compaq recommends that you limit the number of SET TERMINAL
commands you include in startup command procedures. Large numbers
(for example, hundreds) of SET TERMINAL commands can significantly
slow down system startup. If you have a large number of terminals,
change the default characteristics using the system parameters TTY_
DEFCHAR and TTY_DEFCHAR2 as explained in Section 8.6.1.1.
You may want to include comments to provide the names of terminal owners, as
shown in the following example.
Example
The following example provides sample commands you could include in your
startup procedure to set up terminal devices:
$ SET TERMINAL TTC2:/SPEED=300/DEVICE_TYPE=LA36/PERMANENT !JONES
$ SET TERMINAL TTD1:/SPEED=9600/PERMANENT !WRENS
$ SET TERMINAL TTD4:/SPEED=1200/PERMANENT !JRSMITH
$ SET TERMINAL TTG4:/SPEED=1200/MODEM/PERMANENT !DIALUP1
8.6.2 Managing Virtual Terminals
Virtual terminals allow users to disconnect from a physical terminal without
terminating a process; the process remains active on a virtual terminal. Virtual
terminals are used for the following purposes:
To reconnect to a process when a modem line connection is lost
To maintain sessions on more than one disconnected terminal
To use dynamic asynchronous DECnet communication
Enabling Virtual Terminals
On VAX systems, you set up virtual terminals by entering the following
commands:
$ RUN SYS$SYSTEM:SYSGEN
SYSGEN> CONNECT VTA0/NOADAPTER/DRIVER=TTDRIVER
SYSGEN> EXIT
On Alpha systems, you set up virtual terminals by entering the following
commands:
$ RUN SYS$SYSTEM:SYSMAN
SYSMAN> IO CONNECT VTA0/NOADAPTER/DRIVER=SYS$TTDRIVER
SYSMAN> EXIT
822 Managing Peripheral Devices