Date: Wed, 12 Jun 2002 15:54:32 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Manuel Collado cc: djgpp AT delorie DOT com Subject: Re: ANNOUNCE: DJGPP port of Less 374 uploaded In-Reply-To: <3D0735C2.7AF6FD8F@lml.ls.fi.upm.es> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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. > 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.