Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Color in echos
2020-09-10, 13:29
Post: #1
Color in echos
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
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 3 Guest(s)