Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ucbvax!utorphys.BITNET!SYSRUTH
From: SYSRUTH@utorphys.BITNET
Newsgroups: comp.os.vms
Subject: RE: Terminal locations - connected to DECservers - How?
Message-ID: <8806151743.AA07389@gpu.utcs.toronto.edu>
Date: 15 Jun 88 16:40:00 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 30


You will have to change things slightly, but the 62x0's come with
V5.0 of VMS (they won't run anything lower), and one of the new features
of 5.0 is the ability to find out which port of which terminal server is
associated with the LT terminal in question. This is displayed as
part of the "show process" information, and although I don't know the
details there should be some straightforward way of getting this
information. So you ought to be able to do something along the lines of:
     
term=f$trnlnm("TT")
port=f$getdvi(term,"LTA_PORT")
server=f$getdvi(term,"LTA_SERVER")
     
(though I'm not sure it will be available as a lexical function) and then base
your assignments accordingly. DECservers can be set up to have permanent names
as one of their characteristics (we use LATnnX, where nn is the floor number,
00 (basement) to 14, and X is A, B, C, etc. ascending for each new server added
on a given floor); likewise you can define each port to have a fixed name, e.g.
PORT_1, PORT_2, or a room- or building-related string. Thus it should be pretty
easy to design a very nice system.
     
All the details of all of this will be in the V5 manuals (release notes, too,
probably) and the DECserver manual.
     
It might even be fun :-) !
     
Ruth Milner
Systems Manager
University of Toronto Physics
     
BITNET: sysruth@utorphys        INTERNET: sysruth@aurora.physics.toronto.edu