Re: [opensuse] Turn off colors in vi or vim




On Wed, 2007-10-31 at 17:45 +0100, Istvan Gabor wrote:
How can I turn off color in konsole? Or change the colors
for
other?

Depends. Turn off what colors? Can you give us examples
of what
action/command line tool is generating colors for you?

I meant the foreground color of konsole window, ie the text/
characters. Eg that root login prompt changes to red, different
file types are listed in different colors etc.

IG

Filmek egy kattintásra tőled – Zene és szöveg, Híd Terabithia Földjére, Kiképzés és még több új film a T-Online Tékában!
________________________________________________________
http://www.teka.t-online.hu


I don't know how to change the root's prompt from red to another, but I
kind of like it because it warns/reminds me that I am in root.

As for different file colors, you are talking about the 'ls' command.
As I learned here in this mailing list, the simplest way to do this is
to follow this command:

touch ~/.dir_colors

This creates a hidden empty colors file in your home directory. This
will only happen under your login user. If you also want to disable
colors for when you su into root, follow this command:

touch /root/.dir_colors

This creates the same hidden empty colors file for the root user.

To re-enable the colors for the 'ls' command, simply delete
the .dir_colors files.

That's it.

--
---Bryen---

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: Apple recommending anti-virus software for Macs?
    ... > To be ultra-safe with the 'rm' command, ... Not a bad idea for root, It would drive me nuts in my user account. ... downloads directory and executing it. ... That I type an EOF is a trivial difference versus 'sudo' exiting ...
    (comp.sys.mac.system)
  • Re: [opensuse] su - -c $command user ???
    ... I'd like to calculate a command-string as root and pass it with su ... into the context of a unprivileged user to run the command not as ... Basically I need to know $d after the daemonuser created and filled ... Note the echo isn't really going to be a fully valuable ...
    (SuSE)
  • Re: System-users and-groups?
    ... bin shouldn't do so much. ... was root and bin... ... Although the daemon user/group are ... as that user runs that command. ...
    (alt.linux)
  • RE: remote ssh for root
    ... forced-commands-only option set, you have to have the command option set. ... execution as root. ... > This message contains confidential information and is ...
    (SSH)
  • Re: grub menu oddity
    ... >>> command (until the manual root command was executed). ... >>> When I first encountered this behavior, it took several reboots for me to ... FWIW - a new CMOS battery is only $3-5 at your local Shaque du Radio ...
    (comp.os.linux.setup)