Closed
Description
Hello,
Whenever we execute a clush command it returns hostnames in blue. May be the terminal settings need to be tweaked to make it dark colour, something like set background=dark in vim.
clush -o -q -Bg hostgroup 'echo
hostnames (xxxx)
How can we tweak the configuration setting in clush/or anywhere you can think of to display hostnames in bright colours other than dark blue which is annoying in dark background.
Thanks,
Bharath
Activity
bgajjela commentedon Aug 23, 2018
This is what I did for putty.
Change dark colours on a black background.
One of the more annoying things with terminal applications (xterm has the same issue) is that by default dark-blue is too dark to be visible on a black background. Not only is this frustrating, it makes the experience for new users so bad that they prefer to disable colours (or hate the ls colour output or syntax highlighting in vim).
So if you are like me, go to Category: Window > Colours and select ANSI Blue in the Select a colour to adjust to Red:74 Green:74 Blue:255. I do the same for ANSI Blue Bold to Red:140 Green:140 Blue:255.
So if you are like me, go to Category: Window > Colours and select ANSI Blue in the Select a colour to adjust to Red:74 Green:74 Blue:255. I do the same for ANSI Blue Bold to Red:140 Green:140 Blue:255.
Reference:
http://dag.wiee.rs/blog/content/improving-putty-settings-on-windows
of course i used different colour.
Thanks,
Bharath
degremont commentedon Aug 23, 2018
Hi @bgajjela
These colors were updated in release 1.8 to use color that look better on dark and white backgrounds. But this is always dependent to your terminal setup at the end.
The colors could be customized but you can disable them. This could be done on command line
--color=never
or in config file inclush.conf
. See man page or https://clustershell.readthedocs.io/en/latest/config.html#clushdegremont commentedon Sep 4, 2018
@bgajjela did my comment fix your problem? Could we close this ticket?
bgajjela commentedon Sep 13, 2018
Hello @degremont ,
Thanks for the solution. Iam closing this ticket.
Thanks,
Bharath