T.R | Title | User | Personal Name | Date | Lines |
---|
3209.1 | Try this | HGABSS::SAMMYKAM | Sammy Kam, Asia Engineering | Tue Aug 14 1990 23:36 | 6 |
| $ mc ncp
ncp> sh known link
and look for 'X$X0' in 'Remote user' field.
|
3209.2 | That's not it | HKOVC::TERENCE | From Middlesex, UWO | Wed Aug 15 1990 02:56 | 14 |
| <<< Note 3209.1 by HGABSS::SAMMYKAM "Sammy Kam, Asia Engineering" >>>
-< Try this >-
# $ mc ncp
# ncp> sh known link
#
# and look for 'X$X0' in 'Remote user' field.
It works only if you have an active link to that remote node. What I want
is, in VAXC, get the WSA device that a particular process has SET DISPLAY
to, and then, I can retrieve the node/server/screen information from that
device.
-Terry
|
3209.3 | No good ideas.... | PEACHS::BELDIN | | Wed Aug 15 1990 10:45 | 8 |
|
Well, I don't know if this is valid, but you could check the
logical (in another process's job table? Hmmm) to see if the
device it points to is owned by SYSTEM and then assume that
means local... Ughh... Just a thought... Sounds like a good
question...
rb
|
3209.4 | show display foo | VINO::MCARLETON | Reality; what a concept! | Wed Aug 15 1990 15:05 | 10 |
|
If you could get the value of the logical DECW$DISPLAY from the other
job tables (some privs needed) you could define a logical name to point
to the device and use SHOW DISPLAY:
$SHOW LOG DECW$DISPLAY /TABLE=LNM$JOB_*
"DECW$DISPLAY" = "WSA11:" (LNM$JOB_8xxxxxx)
$DEFINE FOO "_WSA11"
$SHOW DISPLAY FOO
|
3209.5 | you're supposed to be able to do this | VMSSG::LEMBREE | Just do it. | Wed Aug 15 1990 16:39 | 5 |
| I don't know the exact details, but you should be able to do sense
mode QIOs to the WSA device to get the information you want. The WSA device's
big goal in life is to give you the information you're asking for, it just
seems that you have to ask the right way.
|
3209.6 | | HKOVC::TERENCE | From Middlesex, UWO | Wed Aug 15 1990 22:09 | 15 |
| <<< Note 3209.5 by VMSSG::LEMBREE "Just do it." >>>
-< you're supposed to be able to do this >-
# I don't know the exact details, but you should be able to do sense
# mode QIOs to the WSA device to get the information you want. The WSA device's
# big goal in life is to give you the information you're asking for, it just
# seems that you have to ask the right way.
I know how to use SYS$QIO + IO$_SENSEMODE|IO$M_WS_DISPLAY to get the
information from a WSA device. Is it true that peeking into other process'
logical name table is the only way to find out the SET DISPLAY information
of other process? Other than that, any supported way?
-Terry
|
3209.7 | | VMSSG::LEMBREE | Just do it. | Thu Aug 16 1990 11:55 | 8 |
| I think that the logical DECW$DISPLAY is the only way the displaying
process _itself_ keeps track of where to display. I don't think that this
information is kept anywhere else.
Be careful though, the WSA device and the DECW$DISPLAY logical only
come into play when the display is defaulted. Clients are free to specify
a specific display without implicating WSA devices or the logical. In
addition, clients may have multiple displays open at a time, and I don't
think that there's any external way of telling who's displaying where.
|