0 Members and 1 Guest are viewing this topic.
The Amiga CLI and Shell support the standard ANSI escape sequences for enabling color. They are limited to the available colors and those colors are taken from the palette as mentioned above. You can set foreground colors with:echo "*E[3Xm" where X is a number from 0 to 7and background colors with:echo "*E[4Xm"where X is a number from 0 to 7You can also do both on the same line using something likeecho "*E[4X;3Xm"If you need to reset the styles useecho "*E[0m"You can also do other things like bold "*E[1m" and I think the Amiga also supports underline and italics. Those are values in the 2-6 range but I can't remember which one is which. If you are doing a lot of shell manipulation there are some cool values you can do with these escape sequences. *E[ is the same thing as CSi if you look up these ANSI escape sequences elsewhere.
Have you looked into ZShell? It's a bit more Amiga-like than CSH.