public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Bertram Scharpf <lists@bertram-scharpf.de>
To: gentoo-user@lists.gentoo.org, gentoo-user@lists.gentoo.org
Subject: Re: FeatureRequest Was: Re: [gentoo-user] Why are gentoo people so in love with colorized output?!?
Date: Mon, 11 Jun 2007 12:02:43 +0200	[thread overview]
Message-ID: <20070611100243.GA28666@bart.bertram-scharpf.homelinux.com> (raw)
In-Reply-To: <466C59AB.5050503@karlhaines.com>

Hi,

Am Sonntag, 10. Jun 2007, 15:06:03 -0500 schrieb Karl Haines:
> Color is pretty ;) lol. It makes things interesting! I agree however
> that there might need to be some way to turn it off easily.

As far as I see, most e* tools respond on an appended "|cat"
or have at least a non-color option. Ok, still there are
cursor positioning sequences.

I tried to switch them off; I managed to do this only by
modifing </sbin/functions.sh>. Further, when I give the
--nocolor option to an init script only the second line of
those below will lose its colour, the first one still
appears in green and blue.

 * Caching service dependencies ...                 * [ ok ]
 * Setting clock via the NTP client 'ntpdate' ...   * [ ok ]

Some time ago I happened to write an equery redesign in
Ruby, just for fun. It's far from perfect but it definitely
won't output any colors if you don't want them. Of course,
init scripts are more difficult to handle because they are
written in Bash. In case anyone finds the project is worth
being pursued, here's the code:

  http://www.bertram-scharpf.de/tmp/equery.rb

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
gentoo-user@gentoo.org mailing list



WARNING: multiple messages have this Message-ID (diff)
From: Bertram Scharpf <lists@bertram-scharpf.de>
To: gentoo-user@lists.gentoo.org, gentoo-user@gentoo.org
Subject: Re: FeatureRequest Was: Re: [gentoo-user] Why are gentoo people so in love with colorized output?!?
Date: Mon, 11 Jun 2007 12:02:43 +0200	[thread overview]
Message-ID: <20070611100243.GA28666@bart.bertram-scharpf.homelinux.com> (raw)
Message-ID: <20070611100243.4a0E_b6MtLhi_1ELTGc8q2HleX6Yhq5yNiG8qyRkCR4@z> (raw)
In-Reply-To: <466C59AB.5050503@karlhaines.com>

Hi,

Am Sonntag, 10. Jun 2007, 15:06:03 -0500 schrieb Karl Haines:
> Color is pretty ;) lol. It makes things interesting! I agree however
> that there might need to be some way to turn it off easily.

As far as I see, most e* tools respond on an appended "|cat"
or have at least a non-color option. Ok, still there are
cursor positioning sequences.

I tried to switch them off; I managed to do this only by
modifing </sbin/functions.sh>. Further, when I give the
--nocolor option to an init script only the second line of
those below will lose its colour, the first one still
appears in green and blue.

 * Caching service dependencies ...                 * [ ok ]
 * Setting clock via the NTP client 'ntpdate' ...   * [ ok ]

Some time ago I happened to write an equery redesign in
Ruby, just for fun. It's far from perfect but it definitely
won't output any colors if you don't want them. Of course,
init scripts are more difficult to handle because they are
written in Bash. In case anyone finds the project is worth
being pursued, here's the code:

  http://www.bertram-scharpf.de/tmp/equery.rb

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
gentoo-user@gentoo.org mailing list



  parent reply	other threads:[~2007-06-11 10:12 UTC|newest]

Thread overview: 133+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-04  4:17 [gentoo-user] Why are gentoo people so in love with colorized output?!? felix
2007-04-04  4:29 ` Bo Ørsted Andresen
2007-04-04  5:13   ` felix
2007-04-04  5:36     ` Bo Ørsted Andresen
2007-04-04  6:19       ` Graham Murray
2007-04-04  6:22         ` Bo Ørsted Andresen
2007-04-05 17:07           ` Mick
2007-04-05 19:07             ` Tony Stohne
2007-04-05 19:14               ` Tony Stohne
2007-04-05 19:22                 ` Tony Stohne
2007-04-06 15:44               ` Mick
2007-04-06 18:34                 ` Tony Stohne
2007-04-07 17:26               ` Dan Farrell
2007-04-07 19:32                 ` Tony Stohne
2007-04-07 23:07                 ` [gentoo-user] sylpheed claws quotes colourisation (was: Why are gentoo people so in love with colorized output?!?) Renat Golubchyk
2007-04-08  1:39                   ` Dan Farrell
2007-04-08  8:36                 ` [gentoo-user] Why are gentoo people so in love with colorized output?!? Neil Bothwick
2007-04-08 15:40                   ` Dan Farrell
2007-04-08 16:56                     ` Neil Bothwick
2007-04-08 23:25                       ` David Relson
2007-04-09 13:44                         ` Dan Farrell
2007-04-06  5:48             ` W.Kenworthy
2007-04-06  6:14               ` Graham Murray
2007-04-06  8:19                 ` Neil Bothwick
     [not found]                 ` <200704061149.37793.benno.schulenberg@gmail.com>
2007-04-06 10:26                   ` Paul Colquhoun
2007-04-08 13:24                 ` [gentoo-user] " Alexander Skwar
2007-04-06 11:06             ` [gentoo-user] " Bo Ørsted Andresen
2007-04-06 16:03               ` Mick
2007-04-04  7:32       ` felix
2007-04-04 10:15         ` Andrey Gerasimenko
2007-04-04 10:27           ` Alexis Lahouze
2007-04-04 11:51           ` Bo Ørsted Andresen
2007-04-04 13:09             ` Daniel Iliev
2007-04-04 13:21               ` [gentoo-user] " Alexander Skwar
2007-04-04 14:29               ` [gentoo-user] " Neil Bothwick
2007-04-04 15:53                 ` felix
2007-04-04 16:19                   ` [gentoo-user] Why are gentoo people so in love with colorizedoutput?!? Nelson, David J
2007-04-04 17:07                     ` felix
2007-04-04 18:10                       ` [gentoo-user] " Harm Geerts
2007-04-04 19:00                         ` felix
2007-04-04 19:04                           ` felix
2007-04-04 19:37                           ` Neil Walker
2007-04-04 19:41                         ` Neil Walker
2007-04-04 20:04                           ` Dan Cowsill
2007-04-04 20:28                             ` felix
2007-04-04 21:08                               ` Dan Cowsill
2007-04-05  6:47                       ` Alexander Skwar
2007-04-05  8:51                       ` [gentoo-user] Why are gentoo people so in love withcolorizedoutput?!? Nelson, David J
2007-04-04 17:27                   ` [gentoo-user] Why are gentoo people so in love with colorized output?!? Bo Ørsted Andresen
2007-04-04 18:24                   ` Neil Bothwick
2007-04-04 21:31                     ` b.n.
2007-04-04 19:48                       ` Neil Bothwick
2007-04-04 20:34                       ` Benno Schulenberg
2007-04-05  1:02                   ` Hemmann, Volker Armin
2007-04-05  6:28                     ` [gentoo-user] " Alexander Skwar
     [not found]                   ` <200704042140.21829.harmgeerts@home.nl>
     [not found]                     ` <20070404195909.GA18762@crowfix.com>
2007-04-04 20:35                       ` [gentoo-user] Re: Why are gentoo people so in love with colorizedoutput?!? Bo Ørsted Andresen
     [not found]                       ` <200704042227.48244.harmgeerts@home.nl>
2007-04-04 20:57                         ` felix
2007-04-04 21:23                           ` Chris Scullard
2007-04-04 21:38                           ` Neil Walker
2007-04-05  6:55                           ` [gentoo-user] " Alexander Skwar
2007-04-05  7:09                           ` [gentoo-user] " Mark Kirkwood
2007-04-05 10:02                           ` Boyd Stephen Smith Jr.
2007-04-05 21:26                           ` b.n.
2007-04-05  6:51                       ` [gentoo-user] " Alexander Skwar
2007-04-04 11:37         ` [gentoo-user] Why are gentoo people so in love with colorized output?!? Bo Ørsted Andresen
2007-04-04 14:33           ` felix
2007-04-04 15:50             ` Neil Walker
     [not found]               ` <20070404155552.GB10689@crowfix.com>
2007-04-05  7:11                 ` [gentoo-user] " Alexander Skwar
2007-04-16 19:13         ` [gentoo-user] " Bryan Whitehead
2007-04-04  4:33 ` Dale
2007-04-04  5:48   ` Roy Wright
2007-04-04  7:04     ` Neil Bothwick
2007-04-04  9:56 ` Boyd Stephen Smith Jr.
2007-04-04 14:26 ` [gentoo-user] " Grant Edwards
2007-04-04 16:00   ` felix
2007-04-04 16:44     ` Neil Walker
2007-04-04 17:56       ` Grant Edwards
2007-04-04 18:12         ` felix
2007-04-04 19:15         ` Neil Walker
     [not found]           ` <ev0tob$4nk$1@sea.gmane.org>
2007-04-04 19:29             ` felix
2007-04-05  6:58         ` Alexander Skwar
2007-04-05 14:24           ` Grant Edwards
2007-04-05 14:35             ` Neil Bothwick
2007-04-05 14:45               ` Grant Edwards
2007-04-05 15:31                 ` Ryan Curtin
2007-04-05 15:39                 ` Neil Bothwick
2007-04-05 17:48                   ` Grant Edwards
2007-04-05 18:28                     ` Neil Bothwick
2007-04-05 19:52                       ` Grant Edwards
2007-04-05 20:33                         ` Christer Ekholm
2007-04-05 21:24                         ` Neil Bothwick
2007-04-05 21:41                           ` Grant Edwards
2007-04-05 22:28                             ` Neil Bothwick
2007-04-05 22:29                       ` b.n.
2007-04-05 16:14                 ` Tony Stohne
2007-04-05 17:51                   ` Grant Edwards
2007-04-05 18:26                     ` Tony Stohne
2007-04-05 18:36                       ` Tony Stohne
2007-04-06 16:18                         ` Mick
2007-04-06 18:36                           ` Tony Stohne
2007-04-05 18:33                     ` Francesco Talamona
2007-04-05 18:47                       ` Tony Stohne
2007-04-05 14:58             ` Grant Edwards
2007-04-07 18:08             ` Dan Farrell
2007-04-07 18:30               ` Mike Markowski
2007-04-07 20:52               ` Grant Edwards
2007-04-08  8:39               ` Neil Bothwick
2007-04-08 18:49                 ` Mike Edenfield
2007-04-09 13:47                   ` [gentoo-user] [OT] " Dan Farrell
2007-04-04 17:55     ` [gentoo-user] " Grant Edwards
2007-04-04 18:15       ` Neil Bothwick
2007-04-04 21:36     ` b.n.
2007-04-06 16:28       ` Mick
2007-04-04 16:20 ` [gentoo-user] " Rob Rutherford
2007-04-04 16:30 ` Jan Seeger
2007-04-05  6:38 ` Bertram Scharpf
     [not found] ` <20070405144024.GA13528@crowfix.com>
2007-04-05 15:00   ` Boyd Stephen Smith Jr.
2007-04-05 16:42     ` [gentoo-user] " »Q«
2007-06-10 13:38 ` FeatureRequest Was: Re: [gentoo-user] " Robert Welz
2007-06-10 20:06   ` Karl Haines
2007-06-10 21:29     ` Boyd Stephen Smith Jr.
2007-06-10 22:07       ` Kevin O'Gorman
2007-06-10 22:23         ` Daniel Pielmeier
2007-06-10 22:32         ` [gentoo-user] Re: FeatureRequest Was: " Grant Edwards
2007-06-10 23:02           ` Boyd Stephen Smith Jr.
2007-06-10 23:22             ` Boyd Stephen Smith Jr.
2007-06-11  2:02               ` Dan Farrell
2007-06-10 23:24         ` FeatureRequest Was: Re: [gentoo-user] " Graham Murray
2007-06-11  3:40         ` Karl Haines
2007-06-11 10:02     ` Bertram Scharpf [this message]
2007-06-11 10:02       ` Bertram Scharpf
2007-06-11  7:53   ` [gentoo-user] Re: FeatureRequest Was: " Alexander Skwar
2007-06-19 11:40     ` Robert Welz

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=20070611100243.GA28666@bart.bertram-scharpf.homelinux.com \
    --to=lists@bertram-scharpf.de \
    --cc=gentoo-user@lists.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