Skip to content

Clush returns hostnames in blue  #390

Closed
@bgajjela

Description

@bgajjela

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

bgajjela commented on Aug 23, 2018

@bgajjela
Author

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

degremont commented on Aug 23, 2018

@degremont
Collaborator

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 in clush.conf. See man page or https://clustershell.readthedocs.io/en/latest/config.html#clush

degremont

degremont commented on Sep 4, 2018

@degremont
Collaborator

@bgajjela did my comment fix your problem? Could we close this ticket?

bgajjela

bgajjela commented on Sep 13, 2018

@bgajjela
Author

Hello @degremont ,

Thanks for the solution. Iam closing this ticket.

Thanks,
Bharath

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @degremont@bgajjela

        Issue actions

          Clush returns hostnames in blue · Issue #390 · cea-hpc/clustershell