Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site gargoyle.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!gargoyle!ed From: ed@gargoyle.UUCP (Ed Friedman) Newsgroups: net.micro.amiga Subject: Creating NEWCLI Message-ID: <357@gargoyle.UUCP> Date: Fri, 7-Mar-86 17:32:12 EST Article-I.D.: gargoyle.357 Posted: Fri Mar 7 17:32:12 1986 Date-Received: Tue, 11-Mar-86 00:30:14 EST Distribution: net Organization: U. of Chicago, Computer Science Dept. Lines: 25 Has anyone successfully created a window with a CLI in it? According to the manuals, you are supposed to use execute with an empty string, a file handle referring to a new window, and 0 for the output. I tried the following: nullstring[0] = '\0'; execute(nullstring, &W, 0); where W is the pointer to the window I just opened. The results were that the screen went all black, and the program acted as if it were dead (or not having access to i/o). I then changed the execute command to be: execute(nullstring, W, 0); and this caused the machine to crash. My question is: just what is meant by a file handle to a new window? What am I doing wrong? Also, the reason I am doing all of this is to allow users of my program access to multitasking even though my program uses a customscreen. My solution is to create a dummy window with a NEWCLI in it. Is there some better solution to this problem? Thanks in advance, Ed Friedman