iPXE discussion forum

Full Version: Color in echos
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

First, many thanks for providing iPXE. I am using it a lot. Smile

I was wondering if there is a way to use colors in echo?

In bash, it is possible to add colors using
Code:
echo -e
and using
Code:
\e[1m\e[38;5;202m
to define a color for example.

Would such a thing be possible in iPXE?

Since I see colors during dhcp request (I built with debug), maybe there is a way...

Need is the following. On some systems, I need to easily display errors or things like this, during iPXE scripts execution. Having colors would be a nice way to express errors, warning, infos, etc.

Thanks a lot!

With my best regards

Beuk
Reference URL's