home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / amiga / programm / 19287 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.1 KB

  1. Path: sparky!uunet!munnari.oz.au!sgiblab!spool.mu.edu!uwm.edu!linac!unixhub!slacvm!mlo
  2. Organization: Stanford Linear Accelerator Center
  3. Date: Wednesday, 27 Jan 1993 01:48:33 PST
  4. From: LORETI, Maurizio <MLO@SLACVM.SLAC.STANFORD.EDU>
  5. Message-ID: <93027.014833MLO@SLACVM.SLAC.STANFORD.EDU>
  6. Newsgroups: comp.sys.amiga.programmer
  7. Subject: SAS-C v6 and stdout
  8. Lines: 21
  9.  
  10. Hi there -
  11.  
  12. I am a SAS-C v6 user, and this is my problem: the output stream
  13. (stdout) is linked to a window; is it possible to know some
  14. parameters of that window?
  15.  
  16. In particular, I need to know how many visible lines are there,
  17. i.e. window->Height and window->RPort->TxHeight.
  18.  
  19. Starting a program from the workbench, I can request an output
  20. window with a known height using __stdiowin[]; but what to do
  21. if the program has been started from a CLI window?
  22. I had a look to stdio.h, _main.c and some other files, hunting
  23. for window pointers, but without luck.
  24.  
  25. Somebody around the net (Doug?) has the answer?
  26.  
  27. Thank you in advance,     Maurizio
  28.  
  29. P.S.: YES, I know that the window height can be changed from the
  30.       user.
  31.