[comp.sys.amiga.misc] THings I would like to see in the CLI...

aru@mentor.cc.purdue.edu (Sriram Ramkrishna) (01/25/91)

I don't know if this has been addressed before or if such a feature actually
exist (I don't own an Amiga so I haven't played around with CLI), but can you
have background tasks??  

In Unix you could do a rm * & and then go on to do something else.  Can you do
something similiar in the CLI?  If you can, can it be done (it should I think),
if not why not?  

	Sri

phoenix@ms.uky.edu (R'ykandar Korra'ti) (01/25/91)

In article <4487@mentor.cc.purdue.edu> aru@mentor.cc.purdue.edu (Sriram Ramkrishna) writes:
>...can you have background tasks [on the Amiga]??
     Yes.

>In Unix you could do a rm * & and then go on to do something else.  Can you do
>something similiar in the CLI?
     run delete #?
     ...is the Amiga equivalant. RUN means "launch another CLI to execute the
following command."
     There's also rm for the Amiga, I think. I've got ls, didn't bother with
rm - just put in an alias so that "rm" invokes "delete."
                                                             - R'ykandar.
-- 
          R'ykandar Korra'ti | Editor, LOW ORBIT Science and Fiction
             "I hate you, you timepiece from Hades." - Plucky Duck
         phoenix@ms.uky.edu | editor@lorbit.UUCP | ukma!lorbit!editor

Walt@orbit.Amiga.OCUnix.On.Ca (Walt Sullivan) (01/28/91)

>In article <4487@mentor.cc.purdue.edu> aru@mentor.cc.purdue.edu (Sriram Ramkrishna) writes:
>I don't know if this has been addressed before or if such a feature actually
>exist (I don't own an Amiga so I haven't played around with CLI), but can you
>have background tasks??  

Yes.

>
>In Unix you could do a rm * & and then go on to do something else.  Can you do
>something similiar in the CLI?  If you can, can it be done (it should I think),
>if not why not?  

arun delete * quiet

works for me (I'm using ARP delete), standard AmigaDOS delete probably wants

run delete #? quiet


--

    Walt Sullivan           walt@orbit.Amiga.OCUnix.On.Ca
                            Fido 1:163/109.4
    None of what I say is what my employer says, ever!
    Am I still confused if I'm not, but only THINK I'm confused?

peter@sugar.hackercorp.com (Peter da Silva) (01/28/91)

In article <4487@mentor.cc.purdue.edu> aru@mentor.cc.purdue.edu (Sriram Ramkrishna) writes:
> In Unix you could do a rm * & and then go on to do something else.  Can you do
> something similiar in the CLI?  If you can, can it be done (it should I think),
> if not why not?  

Try "run delete #? quiet".

(Hey, there's an idea for a new group... comp.sys.amiga.shell or .cli... it's
 proven a useful group over on comp.unix.*, and there are probably as many
 shells for the Amiga as there are for UNIX...)
-- 
Peter da Silva.   `-_-'
<peter@sugar.hackercorp.com>.

rjc@geech.ai.mit.edu (Ray Cromwell) (01/28/91)

In article <Walt.2640@orbit.Amiga.OCUnix.On.Ca> Walt@orbit.Amiga.OCUnix.On.Ca (Walt Sullivan) writes:
>>In article <4487@mentor.cc.purdue.edu> aru@mentor.cc.purdue.edu (Sriram Ramkrishna) writes:
>>I don't know if this has been addressed before or if such a feature actually
>>exist (I don't own an Amiga so I haven't played around with CLI), but can you
>>have background tasks??  
>
>Yes.
>
>>
>>In Unix you could do a rm * & and then go on to do something else.  Can you do
>>something similiar in the CLI?  If you can, can it be done (it should I think),
>>if not why not?  
>
>arun delete * quiet
>
>works for me (I'm using ARP delete), standard AmigaDOS delete probably wants
>
>run delete #? quiet

  Better yet, instead of using Cli, get a shell and use aliases. Wshell
is one of the best, and Wshell supports Unix style &,| characters.

For instance:
alias rm  delete []
alias cp  copy [] clone