Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!oliveb!pyramid!decwrl!decvax!ucbvax!jade!eris!spencer From: spencer@eris.UUCP Newsgroups: comp.sys.amiga Subject: Re: Startup-sequence CLI problems Message-ID: <3905@jade.BERKELEY.EDU> Date: Wed, 10-Jun-87 01:03:11 EDT Article-I.D.: jade.3905 Posted: Wed Jun 10 01:03:11 1987 Date-Received: Sat, 13-Jun-87 05:06:59 EDT Sender: usenet@jade.BERKELEY.EDU Reply-To: spencer@eris.BERKELEY.EDU (Randy Spencer) Organization: University of California, Berkeley Lines: 39 On thing that I didn't see mentioned in the "how do I run conman in my first CLI" question was the ability to use cli task number 1. The guy who posted the startup-sequence had the second startup file issue the command prompt "1>" which will eventually leave you with two CLI's that say "1>". So, to get around that problem I have got a startup-sequence that looks like this (sort of): echo "Use preferences tool to set time and date" conman run wait 5 + newcli con:0/0/640/200/AmigaKitty endcli > "con:100/50/250/150/Just ignore me!" I don't really endcli > con:, but that sure is a cute idea! Notice the "+" after the wait command. It causes the "run" command (cli task 2) to run both wait, and newcli. What happens is that the wait command before the newcli command gives the first CLI window time to close. What happens is the first CLI says "task 1 ending" and then sits there until all commands issued are complete. Well, when the wait finishes there are NO tasks running, so the next task is going to be task 1. NewCLI is the next command and it gets the slot. When NewCLI returns the original CLI's window(s) close, leaving just the second CLI, which is task 1 and looks just like it was the only CLI ever around. However, this CLI has ConMan running in it. I just thought I would pass on one of those many tidbits, I don't want to see this showing up in Run or AmigaWorld with someone elses name on it now. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Randy Spencer P.O. Box 4542 Berkeley CA 94704 (415)284-4740 I N F I N I T Y BBS: (415)283-5469 Now working for |||||||||||::::... . . BUD-LINX But in no way |||||||||||||||::::.. .. . Officially representing ||||||||||||:::::... .. ....ucbvax!mica!spencer s o f t w a r e spencer@mica.berkeley.edu -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-