[comp.sys.amiga] Question on CLI window

chin-lon@puff.UUCP (03/24/87)

Once again, I am posting this for a friend. If possible, please
reply by E-mail. Any reply is greatly appreciated.

************************************************************************
Is there any way to access the window structure of stdout?  (The CLI
window your program was run in, if that's not stdout).  I tried using
the pr_WindowPtr in the process structure for my task ( I got this by
calling FindTask(0L) ).  Maybe I didn't call the right function, or
maybe that's not possible, but I'd like to know.  I got the idea to do
this from Manx' _main.c startup code which calls _FindTask(0L) to get a
pointer to a Process structure, then passes this pointer to their
_cli_parse() routine.

If I am on the wrong track, please let me know.  I am wondering if it is
possible to change the pointer if your task does not have a custom
window.

Thank you,
Jeff Sullivan
***********************************************************************
Chin-Long Cheng
UW Madison
chin-lon@puff.wisc.edu

<got to design my standard disclaimer one of these days>