[comp.os.vms] Getting the physical terminal name from DCL

nagy%warner.hepnet@LBL.ARPA.UUCP (06/13/87)

>Does anyone know of a way to obtain the physical terminal name of an
>interactive process from DCL?   F$getjpi(pid,"TERMINAL") returns the
>virtual terminal (if there is one) ...

>-Tom O'Toole
>Interactive Graphics Facility
>Johns Hopkins Med. School.

Yep, instead try F$GETDVI( "SYS$COMMAND", "TT_PHYDEVNAM") and you'll
get the information you want.

= Frank J. Nagy
= Fermilab Research Division EED/Controls
= HEPNET: WARNER::NAGY (43198::NAGY) or FNAL::NAGY (43009::NAGY)
= BitNet: NAGY@FNAL
= USnail: Fermilab POB 500 MS/220 Batavia, IL 60510