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 |
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.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
1689.1 | show display/symbol | MELTIN::dick | Gvriel::Schoeller | Tue Nov 07 1989 12:47 | 14 |
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.2 | an example | MAXDOG::kittell | Richard - Architected Info Mgmt | Wed Nov 08 1989 11:27 | 10 |
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 |