You are not logged in.
I have colored output of dmesg on my desktop just by typing "dmesg" but it is not colored on my laptop. Which package is doing that?
Offline
Is dmesg an alias on your system? It should be capable to color output on itself with 'dmesg -L=always' or similar.
Offline
Check the output of 'type dmesg' and 'type -p dmesg' on the computer that has colored output.
-L, --color[=when]
Colorize important messages (enabled by default). The optional argument when can be auto, never
or always. If the when argument is omitted, it defaults to auto.
dmesg is provided by util-linux package. Are both using the same version?
Edit: Tooo laaate,
I think it's a recent change, as I haven't changed anything on my system an now just typing 'dmesg' gives me colored output.
util-linux 2.24.2-1 is just black'n'white.
Last edited by karol (2014-08-09 09:40:48)
Offline
Seems to be caused by util-linux update.
Offline
http://lwn.net/Articles/606125/
Edit: Errr, not, there's nothing new about the defaults, just that it adds customization.
Last edited by karol (2014-08-09 09:45:59)
Offline