Change iPXEs shell default background color (black to blue)
|
2013-01-15, 11:23
(This post was last modified: 2013-01-15 11:23 by Torgeir.)
Post: #1
|
|||
|
|||
Change iPXEs shell default background color (black to blue)
Hi!
Does anyone know if/where I can change iPXEs shell default background color? I want it to be blue. That way, when using iPXEs menu and login. Its all gonna be blue For getting user input I use iPXEs shell, and the background color goes back and forth (blue/black)... Torgeir |
|||
2013-01-15, 13:52
Post: #2
|
|||
|
|||
RE: Change iPXEs shell default background color (black to blue)
I think you can use a common ANSI escape code to set the background color. Once you have the byte sequence, it should be just a matter of echoing it to the terminal. See the documentation for "echo" and "set" for details. I'm not entirely sure, but you might need to do this every time you exit out of one of the menus (TUI). Please report back if you have success with this approach.
|
|||
2013-01-19, 11:43
(This post was last modified: 2013-01-19 13:04 by Torgeir.)
Post: #3
|
|||
|
|||
RE: Change iPXEs shell default background color (black to blue)
Hi!
Since I use php, I will just post my php code... (problably dont need the "set" code inside the loop ) PHP Code: <?php Torgeir |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)