home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / vms / 14541 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  1.9 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!math.fu-berlin.de!umn.edu!news.cs.indiana.edu!att!ucbvax!lrw.com!leichter
  2. From: leichter@lrw.com (Jerry Leichter)
  3. Newsgroups: comp.os.vms
  4. Subject: RE: Does any VMS editor work on part of screen?
  5. Message-ID: <9209021735.AA12068@uu3.psi.com>
  6. Date: 2 Sep 92 17:26:34 GMT
  7. Sender: usenet@ucbvax.BERKELEY.EDU
  8. Organization: The Internet
  9. Lines: 30
  10.  
  11.  
  12.     Have you managed to call any VMS editor from within _your_ executable
  13.     and kept it from occupying the entire screen? It seems impossible to
  14.     me, but I am sure it has been done. Please respond quickly if you
  15.     have!
  16.  
  17.     Elaboration: When calling, e.g., EDT from your program, it immediately
  18.     starts as if you executed it from DCL. I need to get it to work on a
  19.     part of the screen, preferably like a pop-up.
  20.  
  21. I know of no VMS editor that explicitly supports this.  However, you may be
  22. able to get away with a trick:  Set the scrolling region to, say, the top
  23. 12 lines; set Cursor Relative Mode (this makes cursor positioning work
  24. relative to the scrolling region, rather than relative to the screen); set
  25. the page size to 12; and invoke the editor.  IF the editor does not use
  26. commands that affect the whole screen (e.g., clear screen); and IF it does
  27. not itself try to change the scrolling region; and IF it will support display
  28. heights other than 24 lines high; this may do the trick.  (In the case of a
  29. VT420, you might also be able to set the left and right margins and the line
  30. width to keep the editing within a rectangle.)
  31.  
  32. Now, which editors might you use?  Well, there's no hope with EDT - it only
  33. knows about the 24x80 (or 24x132) displays.  TPU MIGHT work.  I know for a
  34. fact that TECO32 will work, as I've done this.  (Set 8:W non-zero to tell
  35. TECO32 not to use scrolling regions - the TECO32 developer actually put this
  36. in for my macro.)  Of course, TECO as such isn't a screen editor - you have
  37. to write one on top of it.  VTEDIT might do the trick for you.
  38.  
  39.                             -- Jerry
  40.  
  41.