Results 1 to 6 of 6

Thread: How to work black and white ?

  1. #1

    Default How to work black and white ?

    Hi friends !

    Can you tell me how to configure some file(s) to get shell and vim work in monochrome ? (one color for front , one color for back)

    thanks in advance

  2. #2

    Default Re: How to work black and white ?

    Maybe have a look in ~/.bashrc

    ?

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,163

    Default Re: How to work black and white ?

    I quess (not sure) that this is a property of the terminal (I mean, that even if vi makes colours, the terminal could make them all "foreground"). I do not know which terminal emulator you use, but I would have a look at the configuration of e.g. konsole if I were you.
    Henk van Velden

  4. #4
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,861
    Blog Entries
    14

    Default Re: How to work black and white ?

    Henk is pointing in the right direction. Start 'konsole', in it's settings you can choose different color profiles and fonts. These settings are also used by some other terminal programs, for example yakuake.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  5. #5

    Default Re: How to work black and white ?

    The colors available in a terminal depends on which terminal application you are using. Are you using a tty, konsole. gnome-terminal, x-term or something else? Vim's color scheme can be set separately from the terminal (depending on the terminal used). Are you perhaps using GVim? Or are you calling vim from the command line?

    We need more information to help you.

  6. #6

    Default Re: How to work black and white ?

    Hi,

    thanks to all


    I'm using Terminal GNOME 2.24.

    In the menu : Edition/"preferences du profil" (It's french! I don't know the english equivalence, it should not be very far), I can change a background color and a foreground color.

    But when at shell (bash, of course), several colors come depending on the attributes of files and directories. Under vi, I get other colors too, depending of the syntax of what I edit (shell, C-language, Perl, ...).
    Depending on the background, some colors can almost diseappear.

    To stay stable with different backgrounds, I'd like to kee a unique forground color (let's say white, for example). This is what I don't know.

    Thanks for your patience!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •