home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / vms / 12886 < prev    next >
Encoding:
Internet Message Format  |  1992-07-28  |  3.9 KB

  1. Xref: sparky comp.os.vms:12886 comp.sys.dec:4260 nz.comp:182 comp.windows.x:14553
  2. Path: sparky!uunet!wupost!waikato.ac.nz!canterbury.ac.nz!lincoln.ac.nz!wronz.org.nz!claridge
  3. Newsgroups: comp.os.vms,comp.sys.dec,nz.comp,comp.windows.x
  4. Subject: help: problem decwindows task output box's
  5. Message-ID: <1992Jul29.145602.51@wronz.org.nz>
  6. From: claridge@wronz.org.nz
  7. Date: 29 Jul 92 14:56:01 +1200
  8. Lines: 94
  9.  
  10.  
  11. *******    Note cross posts, please reply by e-mail  ********
  12.  
  13.  
  14. We have found an annoying `undocumented feature' in DECWINDOWS, and
  15. we really *HOPE* someone has a simple solution.  
  16.  
  17. Context: running DCL tasks (including compiled code, but not windowing
  18. specifically) from FILEVIEW.
  19.  
  20. We want several output groupings (say from different sections of a DCL
  21. command structure, etc) to go to different TASK OUTPUT boxes. Seems
  22. straight forward enough, problems are as follows:
  23.  
  24. 1) Can not have output from a single job directed to different boxes
  25. (i.e. only one active box per job)
  26.  
  27. 2) OK, so (1) not too much problem, we can always dump the task box
  28. using VUE$POPDOWN, then start another with VUE$POPUP.  
  29. *OH NO YOU CANT*, when we VUE$POPDOWN the task box stays popped down,
  30. forever!!!  VUE$POPUP, etc,etc DONT BLOODY WORK ANYMORE!
  31.  
  32. I have included rudimentary, simplified DCL procedure outlining the
  33. problem below.  
  34.  
  35. If anyone can help, it would be much appreciated.
  36.  
  37. Please reply via e-mail, for some reason I can get out onto NEWS, but
  38. we loose much of the incoming (currently being fixed I hope) If
  39. sufficient interest and ME2s I'll summarize later.
  40.  
  41. Oh, We run DECWINDOWS under VAX VMS 5.4-3, I dont know the version of
  42. decwindows (does it have a separate version number?)
  43.  
  44. Thanks, Robert.
  45.  
  46. $!------------------------- cut here ----------------------------------
  47. $!    to show simple form of VUE$POPDOWN bug
  48. $!
  49. $  w = "write sys$output"
  50. $!
  51. $  vue$popup_focus      !this instruction is not necessary
  52. $!
  53. $  w "This statement always prints out in the TASK OUTPUT BOX, 
  54. $  w " but if I now have a VUE$POPDOWN command no output commands in the rest"
  55. $  w " of the procedure will get sent to a TASK OUTPUT BOX."
  56. $  w ""
  57. $  w "If input is required (e.g a DCL INQUIRE command) for the task that should
  58. $  w " be running in the TASK OPUTPUT BOX, then the procedure will hang"
  59. $  w ""
  60. $!
  61. $  vue$popup_confirm "Continue ?"
  62. $  vue$read waste         !only purpose is to pause at this point
  63. $!
  64. $  vue$popdown            !comment this line out to see the effect
  65. $!
  66. $  vue$popup_focus      
  67. $!
  68. $! this instruction above is not necessary, but put in to show the problem
  69. $! persists even with an explicit 'open' instruction.  The only difference is
  70. $! that with this instruction an empty TASK OUTPUT BOX is created, that accepts
  71. $! no input, nor displays the following text.  Without this instruction, the
  72. $! process also hangs but doesn't create an empty TASK OUTPUT BOX
  73. $!
  74. $  w "Only if the VUE$POPDOWN is deleted can I get this output"
  75. $  w "to appear in a TASK OUTPUT BOX"  
  76. $  w ""
  77. $  w "The following INQUIRE will cause the process to `hang' waiting for"
  78. $  w "response to the DCL prompt, which is not visible, nor will a response be"
  79. $  w "accepted anyway. "
  80. $  w "The work around is to accept that all DCL propmts and outputs from a"
  81. $  w "program run from fileview MUST go to the one task output box."
  82. $  w ""
  83. $  w " Practically, one removes the VUE$POPDOWN command"
  84. $  w ""
  85. $!
  86. $!  inquire stp "*> Stop now ?"  !simple example of input requirement
  87. $!
  88. $  vue$popup_confirm "Stop now ?"
  89. $  vue$read waste         !only purpose is to pause at this point
  90. $ exit
  91. $!----------------------------     cut here       -----------------
  92.  
  93. -----------------------------------------------------------------------------
  94.  
  95. Robert Burling-Claridge, WRONZ, Lincoln, NZ.
  96.  
  97. e-mail : CLARIDGE@WRONZ.ORG.NZ
  98. snail  : Wool Research Organisation of NZ, 
  99.      Private Bag, Christchurch, New Zealand
  100.  
  101. "Why would anyone need a computer of their own ? " -- Ken Olsen, 1974.
  102.  
  103. -----------------------------------------------------------------------------
  104.