home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / pascal / 6457 < prev    next >
Encoding:
Text File  |  1992-11-10  |  1.2 KB  |  27 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!sun-barr!cs.utexas.edu!torn!news.ccs.queensu.ca!slip204.telnet1.QueensU.CA!dmurdoch
  3. From: dmurdoch@mast.queensu.ca (Duncan Murdoch)
  4. Subject: Re: TV: Limited display and menu def.
  5. Message-ID: <dmurdoch.153.721403863@mast.queensu.ca>
  6. Lines: 15
  7. Sender: news@knot.ccs.queensu.ca (Netnews control)
  8. Organization: Queen's University
  9. References: <07NOV92.14892046.0046@music.mus.polymtl.ca> <27315@oasys.dt.navy.mil>
  10. Date: Tue, 10 Nov 1992 13:57:43 GMT
  11.  
  12. In article <27315@oasys.dt.navy.mil> roth@oasys.dt.navy.mil (Pete Roth) writes:
  13. >>- When EXECing programs from TP/TV, is there a way to limit the
  14. >>  child process' actual screen area?  For instance, define a
  15. >>  window in TV then call a batch file that only writes in the
  16. >>  window defined by TV.
  17. >
  18. >Make a TTerminal the interior of a Twindow and use AssignDevice to
  19. >put the file output into YourTTerminal.
  20.  
  21. That won't work, because the child processes write to file handle 0, and 
  22. AssignDevice redirects TP text I/O, not DOS I/O.  I don't know how to 
  23. do what was asked, but the Object Professional demo unit EXECWSWP.ZIP
  24. or EXECWIN.ZIP (*not* EXECSWAP.ZIP) does it.
  25.  
  26. Duncan Murdoch
  27.