1 |
On Wednesday 04 April 2007 07:22, Bo Ørsted Andresen wrote: |
2 |
> On Wednesday 04 April 2007 08:19:47 Graham Murray wrote: |
3 |
> > Bo Ørsted Andresen <bo.andresen@××××.dk> writes: |
4 |
> > > First of all I believe most people (including myself) very much prefer |
5 |
> > > colors over no colors (no I cannot qualify with any numbers..). That |
6 |
> > > does not, however, mean that the pipe detection and --color switch etc. |
7 |
> > > shouldn't be honoured. It should (and it does here). |
8 |
> > |
9 |
> > Though, as less can display colours, it might be good if the pipe |
10 |
> > detection did *not* disable colour output but require the user to use |
11 |
> > the --no-color switch to disable them. |
12 |
> |
13 |
> Not really. Just use --color=y if you want colors through a pipe. |
14 |
|
15 |
Hmm, neither less not cat give me color output. Passing --color=y to either |
16 |
tells me things like: |
17 |
============================== |
18 |
There is no color=y option ("less --help" for help) |
19 |
============================== |
20 |
|
21 |
I also tried --color but it's all still shown in black & white. How do you |
22 |
pipe a file and get it to show in color? Am I missing something in |
23 |
my .bashrc or elsewhere? |
24 |
-- |
25 |
Regards, |
26 |
Mick |