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