delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/06/13/11:39:52

Message-ID: <3D087307.9C880D23@lml.ls.fi.upm.es>
Date: Thu, 13 Jun 2002 12:25:11 +0200
From: Manuel Collado <m DOT collado AT aaron DOT ls DOT fi DOT upm DOT es>
X-Mailer: Mozilla 4.75 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: ANNOUNCE: DJGPP port of Less 374 uploaded
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1020612154409 DOT 18772B-100000 AT is>
NNTP-Posting-Host: 138.100.10.20
X-Trace: 13 Jun 2002 12:27:33 +0100, 138.100.10.20
Lines: 43
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019