[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

2021.0. "lexical to read the display ?" by ILOV14::HUTTON (Jim) Wed Jan 10 1990 06:11

HI,
	Is there a lexical function to read the display node defined
	using the set display command ?

	We have an program that spawns command files to start 
	applicataions, but now need this to run on a remote node, hence
	the need to know where to point the application to.

	Ps sys$rem_node doesnt always know, only the set display command
	appears to carry this through all active jobs.

	Is there a wimdows function way to find this value from the main
	application as well ?

	ta
	jim
T.RTitleUserPersonal
Name
DateLines
2021.1VANDAL::BAILEYFear eats the SoulWed Jan 10 1990 06:568
SHOW DISPLY /SYMBOL ?

SET DISP/CRE/NODE=GGGG

  DECW$DISPLAY_NODE == "GGGG"
  DECW$DISPLAY_SCREEN == "0"
  DECW$DISPLAY_SERVER == "0"
  DECW$DISPLAY_TRANSPORT == "DECNET"
2021.2re .1 --- BUT...ILOV14::HUTTONJimWed Jan 10 1990 10:218
The thing is, i need to be able toget the DECW$DISPLAY_NODE value as
a parameter so i can use it elsewhere, that means there must be a lexical
function somwhere to extract the value for me, musnt there...? The alternative
in dcl would be to do show display into a file, parse the file, delete the file.

Is there a better approach ? Can it be done from 'c'

jim
2021.3VANDAL::BAILEYFear eats the SoulWed Jan 10 1990 12:1413
>The thing is, i need to be able toget the DECW$DISPLAY_NODE value as
>a parameter so i can use it elsewhere, that means there must be a lexical
>function somwhere to extract the value for me, musnt there...? The alternative
>in dcl would be to do show display into a file, parse the file, delete the file.

          ?


$ Show Display /Symbol
$ !
$ Write Sys$Output "DECW$DISPLAY_NODE is set to ''DECW$DISPLAY_NODE