public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Gontran <gontran@gontran.net>
To: gentoo <gentoo-dev@gentoo.org>
Subject: Re: [gentoo-dev] use of color
Date: Sat Jul 14 12:15:03 2001	[thread overview]
Message-ID: <20010714111255.D9594@potre> (raw)
In-Reply-To: <20010714070849.5b3350e9.erichey2@home.com>; from erichey2@home.com on Sat, Jul 14, 2001 at 07:08:49AM +0000

* Collins Richey (erichey2@home.com) wrote:
> The shell and many of the tools on Gentoo use color which choice I find to
> be absolutely worthless however popular this bit of eye candy may be for
> others.  On XFCE the default background for Terminal makes the color
> displays almost illegible.
> 
> Could someone post instructions to find and kill the color settings, ie
> shell prompt, man, and any other tools that use color setting.

Hi Collins,

This kind of depends on your shell, but basically boils down to a single 
line in an rc file.

For BASH: in ~/.bashrc, say at the bottom, add
	export PS1="$ "
( or whatever you'd like your prompt to be)

For (t)csh: in ~/.(t)cshrc add the line
	set prompt="> "

Now if you're using sh for your shell, you may want to look at /etc/profile
and hack about in those conditions at the 'export PS1' lines.

You'll need to re-source those files, or relogin, or start a new XFterm to
see the effects.

Far as getting man to be without color (sicko), modify or create a
.mostrc file in ~/ and add the following lines to it:

	color overstrike normal default
	color underline normal default

Or you could just change your default environment variable PAGER from 
'most' to 'less' (sounds like a bad idea doesn't it?).

If that's not working or whatever, most does look at your term settings
so, again depending on your shell, change your term variable to a term
type that doesn't support color and you should get shades of gray.

Now to add a counter opinion: I find the use of color in all aspects of Gentoo
not only tremendously refreshing but valuable.  Contrast man!  Thank you Gentoo
for introducing me to most!  The inclusion of 'most' I find to be VERY 
professional, it reminds me of how cool man pages on OBSD VT look.  
And thank you for the color indicators in things like 
'emerge --pretend *.ebuild'! That's the smoothest.

Woo-hoo!
Gontran



  reply	other threads:[~2001-07-14 18:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-14  7:00 [gentoo-dev] use of color Collins Richey
2001-07-14 12:15 ` Gontran [this message]
2001-07-15 10:25   ` Collins Richey
2001-07-16  8:10     ` Terje Kvernes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010714111255.D9594@potre \
    --to=gontran@gontran.net \
    --cc=gentoo-dev@cvs.gentoo.org \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox