[comp.sys.amiga.misc] AmigaDOS 2.0/ARP Aliases...

ksk@sactoh0.sac.ca.us (Ken Krebs) (04/13/91)

Howdy all...
 
I have a few questions about AmigaDOS 2.0 with KS v36.202, WB 37.33 and
ARP release 3 (v1.3).
 
#1 In the AmigaDOS 2.0 Shell, can an Alias run several commands?
   For example:
 
Alias JR Copy Sys:JRComm/#? RAM:JRComm ; Run TelecomDisk:JR-Comm
 
I would like to do something like this...(this is just an example,
please...no workarounds)  I want to be able to run several commands with
just ONE Alias and no scripts.
 
#2 Can the same be done in ARP?
 
#3 If so, how?
 
#4 Is there going to be an ARP WB2.0 project?
 
That's it...
 
 
I LOVE ARP and wish Commodore would use the same commands in their WB. 
They're smaller, faster and more efficient!
 
Please post this publicly so everyone can see it.  I'm sure there are many
people wanting to know the same things.
-- 
|NewOrderDepecheModeSiouxsie&TheBanshees|Internet: ksk@sactoh0.SAC.CA.US |
|ModernEnglishBookofLoveTheCureKraftwerk|  UUCP: ames!pacbell!sactoh0!ksk|
|KillingJokeBigCountryU2UltravoxFishbone|"Sammy Spermite Strikes Again!" |
| Live 105 -=>Long live Modern Rock!<=- |"What would I do w/o the Amiga?"|

jbickers@templar.actrix.gen.nz (John Bickers) (04/18/91)

Quoted from <1991Apr13.115301.7022@sactoh0.sac.ca.us> by ksk@sactoh0.sac.ca.us (Ken Krebs):

> #1 In the AmigaDOS 2.0 Shell, can an Alias run several commands?
>    For example:
>  
> Alias JR Copy Sys:JRComm/#? RAM:JRComm ; Run TelecomDisk:JR-Comm

    Under WShell+ARexx, and presumably now under 2.0+ARexx, you can do:

    alias jr literal "'....'; '....'; '....'"

    You can also do better argument handling using ARexx, like:

    alias do literal "arg $1; 'munge '$1'.in '$1'.out'; 'del ram:'$1'.tmp'"

    Etc.

> |NewOrderDepecheModeSiouxsie&TheBanshees|Internet: ksk@sactoh0.SAC.CA.US |
--
*** John Bickers, TAP, NZAmigaUG.        jbickers@templar.actrix.gen.nz ***
***         "Patterns multiplying, re-direct our view" - Devo.          ***