Amiga.org
Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: Brian on September 25, 2013, 01:47:56 PM
-
I can't seem to locate ALIAS as a command i C: or on the harddrive at all for that matter so thought it was then located in the KS1.3. However using it in my floppys startup-seq gave me error ALIAS unknown command. So where is it located?
What was even more mystifying was when I started a shell in WB1.3 and typed ALIAS A ALIAS and enter, no error so I typed A and got the error message "ALIAS unknown command"... what is this trickery!?
-
Weird. Trickery indeed. Check your path to make sure it includes c: Alias should be in c:
Cant think of anything else. It hasn't been spelt incorrectly?
-
Alias is not in C: or on the harddriver when i search for it.
-
ALIAS is a Shell command, not a CLI command. It is not available in the initial CLI. You first have to load shell-seg as resident module and can then create a new shell using the NewShell command. Only in the new shell the ALIAS command is available.
The Shell is an improved CLI which was newly introduced in WB 1.3. It is not in Kickstart and not in 1.2. In 2.0 Shell and CLI were merged into one.
Together with the Shell a new console handler called NEWCON was introduced, too. It allows basic input editing and has a command history. It is only available if you mount it. In 2.0 NEWCON features were merged into CON and NEWCON was removed.
Furthermore you cannot define an alias for ALIAS. ALIAS is an internal command of the Shell which is handled seperately to manage entries in the alias list. An entry in the alias list however has to be a real DOS command.
-
Thanks for clearing that up for me Thomas. :D
-
Alias is an internal command (oops, late...).
I put lots of aliases in shell-startup in my 3.9 so a long command/path could be lauched with a 2-letter command for instance.