Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!seismo!uwvax!puff!chin-lon From: chin-lon@puff.UUCP Newsgroups: comp.sys.amiga Subject: Question on CLI window Message-ID: <574@puff.WISC.EDU> Date: Tue, 24-Mar-87 13:41:31 EST Article-I.D.: puff.574 Posted: Tue Mar 24 13:41:31 1987 Date-Received: Thu, 26-Mar-87 06:17:11 EST Organization: U of Wisconsin CS Dept Lines: 25 Keywords: amiga cli window pointer 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