On Mon, 2007-07-16 at 02:13 +0100, Ian Hastie wrote:
> On Mon, 16 Jul 2007 09:37:26 +0930
> Iain Buchanan <[EMAIL PROTECTED]> wrote:
>
> > it's a funny workaround, but sometimes you have to type
> >
> > cat file | less
> >
> > to stop less being "intelligent". Or you could disable it's input
> > preprocessor:
> >
> > LESSOPEN="" less /usr/bin/echo-client-2
>
> Or you can use the -L, aka --no-lessopen, switch. It does the same
> thing, but with less typing...
>
> : -L or --no-lessopen
> : Ignore the LESSOPEN environment variable (see
> : the INPUT PREPROCESSOR section below). This option can be set from
> : within less, but it will apply only to files opened subsequently,
> : not to the file which is currently open.
ahh, thanks. I searched the options for "input preprocessor", but it's
formatted "INPUT<space><space>PRE-" in my particular terminal, so less
didn't locate a match until the Input Preprocessor seciton, which
doesn't mention the option!
thanks,
--
Iain Buchanan <iaindb at netspace dot net dot au>
Matz's Law:
A conclusion is the place where you got tired of thinking.
--
[EMAIL PROTECTED] mailing list