in reply to Show SSH output in different colors?
I would recommend you give serious consideration to providing a contrasting background colour with every foreground colour change. This is because a colour change that appears to stand out on a normally light background may prove difficult to read on a dark background and vice versa.
It's also very easy to do. For instance, your example above could be changed to:
print color("red on_yellow"), "Danger, Will Robinson!\n",
-- Ken
|
|---|