ssh colors vs. bash colors
Jon LaBadie
jonfu at jgcomp.com
Sun Jan 31 06:40:34 UTC 2016
On Sun, Jan 31, 2016 at 02:21:04PM +1030, Tim wrote:
> Allegedly, on or about 29 January 2016, Dennis Jacobfeuerborn sent:
> > Now I only need to figure out what exactly "di=01;34" vs. "di=38;5;33"
> > means...
>
> Ah, now found a reference for the latter
>
> 38;5;33
>
> The 38 prefix apparently means to set the foreground colour,
> but a 48 prefix apparently means to set the background colour.
>
> No idea how they're using the 5.
>
> The 33 is a colour, but I don't know how that's defined.
>
> Apparently, it's to do with xterm, so you might look into that.
>
The "3" of 38 is setaf, the 8 is the first part of the color
specification. This 3 number combo is used only on terminals
capable of more than the standard 8, typically 256 colors.
I think the "5" seems to be constant, perhaps meaning a color
beyond the std 8 and the 33 completes the color specification.
jl
--
Jon H. LaBadie jonfu at jgcomp.com
More information about the users
mailing list