Path: utzoo!attcan!uunet!snorkelwacker!apple!mips!bridge2!3comvax!tymix!tardis!jms From: jms@tardis.Tymnet.COM (Joe Smith) Newsgroups: comp.sys.amiga Subject: Re: Shell vs CLI Summary: One is a tool, the other is a project Message-ID: <962@tardis.Tymnet.COM> Date: 19 Mar 90 05:39:59 GMT References: <2426@castle.ed.ac.uk> Reply-To: jms@tardis.Tymnet.COM (Joe Smith) Organization: BT Tymnet, San Jose, CA Lines: 21 In article <2426@castle.ed.ac.uk> mfg@castle.ed.ac.uk (M Gordon) writes: >Using info on the icons on my workbench disk seems to show that both Shell and >CLI run the same program, namely System/CLI. My question is how does CLI know >whether to start up a Shell or a CLI? If you select Info from the Workbench menu, you can see that the CLI icon is a Tool icon. The Shell icon is a Project icon. When you click on the CLI icon, Workbench launches the CLI program and tells it that it has been invoked without any other arguments. When you click on the Shell icon, Workbench locates the apropriate tool (program) to process this project (data file). In this case, the CLI program is given the name of the data file, Workbench:Shell. This additional piece of information is what SYS:System/CLI uses to decide whether to create a new CLI or a new Shell. -- Joe Smith (408)922-6220 | SMTP: jms@tardis.tymnet.com or jms@gemini.tymnet.com BT Tymnet Tech Services | UUCP: ...!{ames,pyramid}!oliveb!tymix!tardis!jms PO Box 49019, MS-C41 | PDP-10 support: My car's license plate is "POPJ P," San Jose, CA 95161-9019 | humorous dislaimer: "My Amiga speaks for me."