Re: [gentoo-user] less and colourisation

2006-11-26 Thread Benno Schulenberg
Willie Wong wrote: > # Only colorize if we know less will handle raw codes > for opt in ${LESS} ; do > if [[ ${opt} == "-r" || ${opt} == "-R" ]] ; > [...] > > I would probably consider that a bug worth filing on b.g.o. Done, https://bugs.gentoo.org/show_bug.c

Re: [gentoo-user] less and colourisation

2006-11-25 Thread Willie Wong
On Sat, Nov 25, 2006 at 08:18:27PM +0100, Penguin Lover Benno Schulenberg squawked: > Willie Wong wrote: > > LESS (should be -R -M --shift 5 by default) > > When doing > > export LESS="-R -M --shift 5" > > a C-file viewed with 'less' is coloured. But when doing > > export LESS="-RM --sh

Re: [gentoo-user] less and colourisation

2006-11-25 Thread Benno Schulenberg
Willie Wong wrote: > LESS (should be -R -M --shift 5 by default) When doing export LESS="-R -M --shift 5" a C-file viewed with 'less' is coloured. But when doing export LESS="-RM --shift 5" not. What is being tripped up where here? Benno -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] less and colourisation

2006-11-25 Thread Willie Wong
On Sat, Nov 25, 2006 at 03:06:04AM +0100, Penguin Lover Thomas R?sner squawked: > This is for programs having color output you want to pipe to less, not > less showing a syntax highlighted file. This is done by the gentoo less > filter that automagically unzips README.gz files when viewing them w

Re: [gentoo-user] less and colourisation

2006-11-24 Thread Thomas Rösner
Willie Wong wrote: On Fri, Nov 24, 2006 at 09:22:24AM +0800, Penguin Lover W.Kenworthy squawked: I recently had cause to use "less" from a real console, not an xterm and found that it really does colourise text. It has never done this in an xterm - how do I turn it on? "man" isnt being very

Re: [gentoo-user] less and colourisation

2006-11-24 Thread Willie Wong
On Fri, Nov 24, 2006 at 09:22:24AM +0800, Penguin Lover W.Kenworthy squawked: > I recently had cause to use "less" from a real console, not an xterm and > found that it really does colourise text. It has never done this in an > xterm - how do I turn it on? "man" isnt being very helpful here :( >

[gentoo-user] less and colourisation

2006-11-23 Thread W.Kenworthy
I recently had cause to use "less" from a real console, not an xterm and found that it really does colourise text. It has never done this in an xterm - how do I turn it on? "man" isnt being very helpful here :( BillK -- gentoo-user@gentoo.org mailing list