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

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sdd.hp.com!zaphod.mps.ohio-state.edu!uwm.edu!linac!att!ucbvax!BARRA.COM!louis
  2. From: louis@BARRA.COM (Louis Dunne)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: Tracking DECW$DISPLAY
  5. Message-ID: <9301262135.AA21144@hermann.barra.COM>
  6. Date: 26 Jan 93 21:35:53 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: BARRA Inc., Berkeley, California.
  10. Lines: 45
  11.  
  12. On Jan 25,  3:02pm, Tigger wrote:
  13. > Subject: Tracking DECW$DISPLAY
  14. >Is there any way (such as a code to $GETDVI) to examine a _WSAn: device
  15. >created with the SET DISPLAY command and determine what node it points
  16. >to (ie the value of the /NODE qualifier to the SET DISPLAY)?
  17. >
  18. >Greg Orman
  19. >greg@pomona.claremont.edu
  20. >
  21.  
  22.         From DCL do the following (undocumented, of course):
  23.                 $ sh sym decw$*
  24.                 %DCL-W-UNDSYM, undefined symbol - check validity and spelling
  25.                 $ show display/symbol
  26.  
  27.                     Device:    WSA3:  [super]
  28.                     Node:      HERMANN.BARRA.COM
  29.                     Transport: TCPIP
  30.                     Server:    0
  31.                     Screen:    0
  32.  
  33.                 $ sh symbol decw$*
  34.                   DECW$DISPLAY_NODE == "HERMANN.BARRA.COM"
  35.                   DECW$DISPLAY_SCREEN == "0"
  36.                   DECW$DISPLAY_SERVER == "0"
  37.                   DECW$DISPLAY_TRANSPORT == "TCPIP"
  38.  
  39.     So, rather than reading the output from a $show disp (ugh),
  40.     you can examine the DECW$DISPLAY_NODE. 
  41.  
  42.     I think that there is something similar you can do with
  43.     $GETDVI. I seem to remember John "Fast Eddie" McMahon
  44.     mentioning something about this before. I'll see if I can
  45.     find the information for doing this from an image.
  46.  
  47. Louis
  48.        -------------------------------------------------------------------------
  49.       / Louis Dunne                          /                                /
  50.      /  VMS/UNIX Systems                    /  Internet:   louis@barra.com   /
  51.     /                                      /   Phone:      +1 510 649-4229  / 
  52.    /    BARRA, Inc.                       /    Fax:        +1 510 548-4374 /
  53.   /     1995 University Ave., Suite 400  /                                /
  54.  /      Berkeley, CA 94704              /                                /
  55. -------------------------------------------------------------------------
  56.  
  57.