Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ut-sally!im4u!rutgers!sri-spam!ames!ucbcad!ucbvax!vax1.physics.oxford.ac.UK!MACALLSTR From: MACALLSTR@vax1.physics.oxford.ac.UK Newsgroups: comp.os.vms Subject: Getting the physical terminal name. Message-ID: <8706181629.AA01609@ucbvax.Berkeley.EDU> Date: Thu, 18-Jun-87 12:31:20 EDT Article-I.D.: ucbvax.8706181629.AA01609 Posted: Thu Jun 18 12:31:20 1987 Date-Received: Sun, 21-Jun-87 13:45:00 EDT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 13 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