I try to explain how I understand it.
I did not create the example myself, but it is working on AMIGA OS.
echo "*e[0;0H*e[J"
Should clear the CLI/Shell/CON window.
Alias is used to set alias commands.
alias cls "echo *"*e[0;0H*e[J*""
should create the alias "cls". So if you type cls the Window should be cleared and prompt should be top left.
*" can be used to have " in ".
echo "Hello World" -> alias helloworld "echo *"Hello World*""
This works fine in AROS till this point.
But putting escape sequences into the game, will cause the parser in AROS alias to fail:
echo "*e[0;0H*e[J" -> alias cls "echo *"*e[0;0H*e[J*"" => alias: argument line invalid or too long
but AROS and AMIGA OS accept:
alias cls echo "*e[0;0H*e[J"
So this is not a big issue. I do not insist in fixing this. This is just what I found, while testing things. Every time I opened a new shell I got an error on AROS, because of the shell-startup of the examples I was testing.