[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

1689.0. "WS device information topic." by HPSRAD::KOMAR (Entropy isn't what it used to be) Tue Nov 07 1989 12:27

    
    	I'd like to be able to query a "ws" type device to find out what
    	node, server,screen, and transport it thinks it is using.
    
    	I'd like to make the query with f$getdvi, rather than doing
    	some awful hack like
    
    	$ define/user sys$output wsa-info.tmp
    	$ define/user decw$display wsa-whatever
    	$ show display
    	$ !now parse some text file
    	.
    	.
    	.
    
    
    	What do you think?  Is anythinglike this available?  Is this the
    	first request, for such a function?
    
    	Some of you will probably want to know the `real problem' that I'm
    	trying to solve.  Very well.  I don't want every process to create 
    	a device, when the devices could be shared.  
    
    		What do you think?
    
    			Paul Komar.
    			"The more state that's visible, the more it
    			 is testable."
T.RTitleUserPersonal
Name
DateLines
1689.1show display/symbolMELTIN::dickGvriel::SchoellerTue Nov 07 1989 12:4714
show display/symbol <wsa device>
will do something like that for you.  It will create the following symbols

decw$display_device
decw$display_node
decw$display_transport
decw$display_server
decw$display_screen

These contain strings corresponding to the various parts of the display device.
I understand that a future version may provide lexical functions to deal with
this instead of these kludges.

Dick
1689.2an exampleMAXDOG::kittellRichard - Architected Info MgmtWed Nov 08 1989 11:2710
  An example of using the /SYMBOL switch Dick mentioned is the FIND_WSA
procedure. It scans the WSA devices on the system to
see if one for the specified node already exists, otherwise it
creates one.

  You can copy it from the public account on my workstation (which is
Ultrix, but don't let that worry you, just specify the output
file name):

  $ COPY MAXDOG::"/staff/guest/find_wsa.com" FIND_WSA.COM