Attaching The Vt55 As An Output Device - DEC VT55 Programming Manual

Table of Contents

Advertisement

Suggested PL0T55 Applications
B.S AIT ACHING THE VTSS AS AN OUTPUT DEVICE
The subroutine ATTACH assigns logical unit 1 to the terminal number of the VT55. Then the routine
stores ILUN
=
1 and IEFN
=
1 in the status table. This subroutine should precede any other PLOT55 calls in
a program.
SUBROUTINE ATTACH
COMMON/ST
ATUS/IST AT(16)
WRITE(5,l)
1
FORMAT('WHAT IS THE VT55 TERMINAL NUMBER?')
READ(5,2) NR
2
FORMAT(02)
CALL ASNLUN(1,'TT',NR)
CALL PLOT55(O,1,l,ISTAT)
RETURN
END
When you use this routine or any other that attaches the VT55, remember to detach the VT55 at the end of
the program.
CALL PLOT55(O,-1,O,ISTAT)
END
NOTE
ATT ACH will only work with lAS or RSX-ll systems.
B-5

Advertisement

Table of Contents
loading

Table of Contents