Simon Geard wrote: > On Thu, 2007-10-11 at 13:01 +0100, taipan67 wrote: > >> My version of less (394) recognises html to the extent that it >> displays the text similarly to a man-page - the html-tags themselves >> are not reproduced as text, so it's readable. >> > > Really? How do you make it do that - I've never seen that behaviour from > less, and it's certainly not the default behaviour... > > Simon. >
Well, i suddenly feel very foolish. I just realised that i was working on my Gentoo box when i discovered this capability, & you're absolutely right, it's not standard behaviour, it's one of the Gentoo-dev's 'enhancements'. They set up less to operate through a bash-script which adds this capability along with several others, including coloured output, which i didn't know about, as i need to initialise it with an environment-variable. I haven't got anywhere to upload the script to for folks to have a look at, but it's included in 'portage' if anyone wants to download a snapshot of that (sys-apps/less/files/lesspipe.sh) - doing so would probably be handy for a lot of people anyway, as the ebuild-scripts often offer clues to solving problems for manual builds like {,b}lfs. My profuse apologies for the misleading information. taipan -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page