MACALLSTR@vax1.physics.oxford.ac.UK (06/18/87)
To get the physical terminal name in DCL, simply use the following
single sommand line:
$ XTERM=F$GETDVI(F$GETJPI("","TERMINAL"),"TT_PHYDEVNAM")
XTERM then contains the physical terminal name.
Unfortunately, ACCOUNTING only records the virtual terminal name
( as far as I am aware ) if virtual terminals are in use. This
is a real pain for accounting purposes and for identifying
terminal use.
John