Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!ucbcad!ucbvax!LBL.ARPA!nagy%warner.hepnet From: nagy%warner.hepnet@LBL.ARPA.UUCP Newsgroups: comp.os.vms Subject: Getting the physical terminal name from DCL Message-ID: <870613064201.003@lbl.arpa> Date: Sat, 13-Jun-87 09:42:01 EDT Article-I.D.: lbl.870613064201.003 Posted: Sat Jun 13 09:42:01 1987 Date-Received: Sun, 14-Jun-87 23:37:28 EDT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 16 >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