From: CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX" 18-MAR-1992 20:15:20.07 To: ARISIA::EVERHART CC: Subj: Re: node information for display From: RELAY-INFO-VAX@CRVAX.SRI.COM@SMTP@CRDGW2 To: Everhart@Arisia@MRGATE Received: by crdgw1.ge.com (5.57/GE 1.123) id AA03602; Wed, 18 Mar 92 19:47:39 EST Received: From GRUBNIK.TGV.COM by CRVAX.SRI.COM with TCP; Wed, 18 MAR 92 14:25:47 PST Date: Wed, 18 Mar 1992 14:24:58 -0800 (PST) From: MAHAN@Grubnik.TGV.COM Message-Id: <920318142458.21d@Grubnik.TGV.COM> Subject: Re: node information for display To: ZINSER@DDAGSI5.BITNET, info-vax@sri.com X-Vmsmail-To: SMTP%"ZINSER@DDAGSI5.BITNET" In article <9203182204.AA02687@ucbvax.Berkeley.EDU> you write: # I want to determine the actual node one is sitting on from a command routine. # What I need is the information which the VAX-System delivers when called # interactively with the $SHOW DISPLAY command # Ex.: $SHOW DISPLAY # # Device: WSA5: [super] # Node: _VSBM # Transport: DECNET # Server: 0 # Screen: 0 # This was done on a remote decterm on a node called vsbc, with display on node # vsbm. # What I need is something like a lexical that gives me the node-information. # Well, I don't have a lexical to do this, but what I do have is much better, it is UNDOCUMENTED ;-). Issue the command $ SHOW DISPLAY/SYMBOL, then look for the following symbols DECW$DISPLAY_NODE DECW$DISPLAY_SCREEN DECW$DISPLAY_SERVER DECW$DISPLAY_TRANSPORT Use them to your hearts content. -- Patrick L. Mahan --- TGV Window Washer ------------------------------- Mahan@TGV.COM --------- Be wary of strong drink. It can make you shoot - Lazarus Long at tax collectors -- and miss. From the Notebooks of Lazarus Long