Console default coloring on CRUX 3.2 with Bash 4.3.42
This is almost embarrassingly basic, but I've realized that Crux 3.2's default shell coloring at init 2 is grey, not white. The screen on my X61 tablet is kinda dim, so I'm hoping to amp up the visibility a bit by changing the default console color to white instead of grey.
I've seen a lot of the PS1 variable stuff and had some good results with that, but the text coming *after* my prompt is still grey. I also wonder if there's a way to change it at the kernel level so the initial dmesg output is white as well - where is the default color set? Thanks in advance. Edit: So I saw a coworker of mine had great results with 'setterm --bold on' but it doesn't make any difference for me. I know my screen can render a brighter white because my PS1 variable shows my current working directory as bright white, and that's fine. Possible Answer: The "right" answer, or less sloppy answer would be to do 'setterm --bold on' where it works. I still have no clue why it's not working for me. My workaround was to edit the vary last part of my PS1 variable with '\[\033[1m' which is the escape code for bold. |
look into tput to change colors.
but really, you should change the default colors. i have no clue about crux, but on my system it's in /etc/vconsole.conf |
All times are GMT -5. The time now is 01:42 AM. |