On Friday 06 April 2007 12:06, Bo Ørsted Andresen wrote:

> --color=y was for emerge to enable colors through a pipe. less needs -R to
> show them.

I'm coming to the conclusion that something must be amiss in my set up because 
with or without -R, less shows black & white content only.

This is an extract of my .bashrc:
============================
# /etc/skel/.bashrc:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/skel/.bashrc,v 1.8 
2003/02/28
 15:45:35 azarah Exp $

# This file is sourced by all *interactive* bash shells on startup.  This
# file *should generate no output* or it will break the scp and rcp commands.

# colors for ls, etc.
eval `dircolors -b /etc/DIR_COLORS`
alias d="ls --color"
alias ls="ls --color=auto"
alias ll="ls --color -l"
alias cp="cp -iv"
alias mv="mv -iv"
alias rm="rm -iv"
alias grep='grep --color=auto'
#alias less="less -R"
alias diff=colordiff
============================

Any ideas?
-- 
Regards,
Mick

Attachment: pgpJD6YWiOBxP.pgp
Description: PGP signature

Reply via email to