[comp.sys.amiga] PopCLI and Shell

jwz@SPICE.CS.CMU.EDU (Jamie Zawinski) (11/03/87)

Is there any way to make the Shell be started by PopCLI instead of the CLI?
If you say "popcli 0 shell" then Amiga-Escape does nothing.  The same is
true if you say "run shell", I guess since the shell needs to have some
window passed to it.

Optionally, is there some way to start a CLI running a task?  So you could
start a CLI running the shell, which would also work.

Jamie (jwz@spice.cs.cmu.edu)

carolyn@cbmvax.UUCP (Carolyn Scheppner CATS) (11/04/87)

In article <293@PT.CS.CMU.EDU> jwz@SPICE.CS.CMU.EDU (Jamie Zawinski) writes:
>[]
>Optionally, is there some way to start a CLI running a task?  So you could
>start a CLI running the shell, which would also work.

NEWCLI FROM scriptfilename

   where the script file contains the commands you want executed when
the newcli starts up

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Carolyn Scheppner -- CATS   >>Commodore Amiga Technical Support<<
                     UUCP  ...{allegra,ihnp4,rutgers}!cbmvax!carolyn 
                     PHONE 215-431-9180
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

dillon@CORY.BERKELEY.EDU (Matt Dillon) (11/04/87)

>Is there any way to make the Shell be started by PopCLI instead of the CLI?
>If you say "popcli 0 shell" then Amiga-Escape does nothing.  The same is
>true if you say "run shell", I guess since the shell needs to have some
>window passed to it.

	You got it.  The way to do it is some like:

	popcli 0 newcli scriptfile

	where scriptfile contains: shell c:.login  (or whatever)

>Optionally, is there some way to start a CLI running a task?  So you could
>start a CLI running the shell, which would also work.

	As above.


			-Matt

dillon@CORY.BERKELEY.EDU (Matt Dillon) (11/05/87)

	Oops... In a previous article I said

	popcli newcli scriptfile

	What I meant was

	popcli newcli FROM scriptfile   OR
	popcli newcli con:0/0/320/100/whatever scriptfile

			Sigh...

			-Matt

ejkst@cisunx.UUCP (Eric J. Kennedy) (11/12/87)

In article <293@PT.CS.CMU.EDU>, jwz@SPICE.CS.CMU.EDU (Jamie Zawinski) writes:
> 
> Is there any way to make the Shell be started by PopCLI instead of the CLI?
> If you say "popcli 0 shell" then Amiga-Escape does nothing.  The same is
 
Instead of "popcli 0 shell", I use the line
"popcli 600 newcli from s:popstart"
the file s:popstart contains the line
"shell s:.login"
 
Eric Kennedy