From:	MERC::"uunet!CRVAX.SRI.COM!RELAY-INFO-VAX" 27-JAN-1993 00:50:56.55
To:	info-vax@kl.sri.com
CC:	
Subj:	Re: Tracking DECW$DISPLAY

In <01GTXUFF9BMA8ZDVA9@POMONA.CLAREMONT.EDU> GREG@POMONA.CLAREMONT.EDU writes:

> Is there any way (such as a code to $GETDVI) to examine a _WSAn: device
> created with the SET DISPLAY command and determine what node it points
> to (ie the value of the /NODE qualifier to the SET DISPLAY)?

I usually just type SHOW DISPLAY WSAn:.

Here is an example:

VAX5::RABINOWITZ;1 >> sh disp

    Device:    WSA32:  [super]
    Node:      CARP
    Transport: DECNET
    Server:    0
    Screen:    0

VAX5::RABINOWITZ;1 >> sh disp wsa1

    Device:    WSA1:  [exec]
    Node:      xncd04
    Transport: tcpip
    Server:    0
    Screen:    0

If you want to be able to use the information for something there is the
undocumented qualifier /SYMBOL which will create symbols for the
information.  Another example follows:

VAX5::RABINOWITZ;1 >> sh disp wsa1/symb

    Device:    WSA1:  [exec]
    Node:      xncd04
    Transport: tcpip
    Server:    0
    Screen:    0

VAX5::RABINOWITZ;1 >> sh symb decw$*
  DECW$DISPLAY_NODE == "xncd04"
  DECW$DISPLAY_SCREEN == "0"
  DECW$DISPLAY_SERVER == "0"
  DECW$DISPLAY_TRANSPORT == "tcpip"

What more could you ask for?

Ari

Ari Rabinowitz                  rabinowitz@bear.com for VMS and personal mail
WorkStation Administrator	ari@bear.com for sun/HP Un*x mail
Bear Stearns