Mail Archives: djgpp/2002/06/13/11:39:52
Eli Zaretskii wrote:
>
> On Wed, 12 Jun 2002, Manuel Collado wrote:
>
> > Eli Zaretskii wrote:
> > > ...
> > > The DJGPP version uses colors to designate bold, underlined, and
> > > inverse-video text. It also supports display of text with embedded SGR
> > > escape sequences by emulating the Posix-standard ANSI terminal driver.
> >
> > I'm not sure how to interpret this paragraph.
>
> Verbatim... ;-)
>
> > the command
> >
> > ls -l --color | less -r
> >
> > which should allow me to view a colorized directory listing one page at
> > a time doesn't work
>
> "less -r" isn't supposed to do that; "less -R" is. This is documented
> in the Less man page.
Thanks for the clarification. In less358 -r worked more or less like -R.
>
> > This command works OK in a Cygwin environment, but not in the DJGPP
> > environment.
>
> That's because (AFAIK) Cygwin has a built-in emulator of a Unix terminal
> driver that supports ANSI escapes. In other words, what you see in the
> Cygwin port is not what Less does, but what the terminal driver does.
>
> > In fact, I've never been able to page a file with ANSI
> > escape sequences throught any the DJGPP version of less.
>
> Well, "less -R" works for me.
I also works for me now! Thanks again,
--
To reply by e-mail, please remove the extra dot
in the given address: m.collado -> mcollado
- Raw text -