home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / vms / 22003 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  1.7 KB

  1. Path: sparky!uunet!destroyer!sol.ctr.columbia.edu!ursa!RABINOWITZ@VAX5.BEAR.COM
  2. From: RABINOWITZ@VAX5.BEAR.COM (Ari)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: Tracking DECW$DISPLAY
  5. Message-ID: <29893@ursa.bear.com>
  6. Date: 26 Jan 93 15:31:19 GMT
  7. References: <01GTXUFF9BMA8ZDVA9@POMONA.CLAREMONT.EDU>
  8. Sender: news@bear.com
  9. Organization: BEAR STEARNS & CO.
  10. Lines: 51
  11. X-News-Reader: VMS NEWS 1.24
  12. In-Reply-To: GREG@POMONA.CLAREMONT.EDU's message of 25 Jan 93 23:02:53 GMT
  13.  
  14. In <01GTXUFF9BMA8ZDVA9@POMONA.CLAREMONT.EDU> GREG@POMONA.CLAREMONT.EDU writes:
  15.  
  16. > Is there any way (such as a code to $GETDVI) to examine a _WSAn: device
  17. > created with the SET DISPLAY command and determine what node it points
  18. > to (ie the value of the /NODE qualifier to the SET DISPLAY)?
  19.  
  20. I usually just type SHOW DISPLAY WSAn:.
  21.  
  22. Here is an example:
  23.  
  24. VAX5::RABINOWITZ;1 >> sh disp
  25.  
  26.     Device:    WSA32:  [super]
  27.     Node:      CARP
  28.     Transport: DECNET
  29.     Server:    0
  30.     Screen:    0
  31.  
  32. VAX5::RABINOWITZ;1 >> sh disp wsa1
  33.  
  34.     Device:    WSA1:  [exec]
  35.     Node:      xncd04
  36.     Transport: tcpip
  37.     Server:    0
  38.     Screen:    0
  39.  
  40. If you want to be able to use the information for something there is the
  41. undocumented qualifier /SYMBOL which will create symbols for the
  42. information.  Another example follows:
  43.  
  44. VAX5::RABINOWITZ;1 >> sh disp wsa1/symb
  45.  
  46.     Device:    WSA1:  [exec]
  47.     Node:      xncd04
  48.     Transport: tcpip
  49.     Server:    0
  50.     Screen:    0
  51.  
  52. VAX5::RABINOWITZ;1 >> sh symb decw$*
  53.   DECW$DISPLAY_NODE == "xncd04"
  54.   DECW$DISPLAY_SCREEN == "0"
  55.   DECW$DISPLAY_SERVER == "0"
  56.   DECW$DISPLAY_TRANSPORT == "tcpip"
  57.  
  58. What more could you ask for?
  59.  
  60. Ari
  61.  
  62. Ari Rabinowitz                  rabinowitz@bear.com for VMS and personal mail
  63. WorkStation Administrator    ari@bear.com for sun/HP Un*x mail
  64. Bear Stearns
  65.