Clemson, Chris wrote, On 7/1/2004 8:50 AM:
When I do "ls -l | less" a typical line looks like this with "ESC" in reverse video and other weird chars. What causes this? Can it be fixed?
-rwx------+ 1 Administ ???????? 1392640 Jul 1 08:31 ESC[01;32mNTUSER.DATESC[0m
that looks suspiciously like ANSI (colour) escape codes. is your terminal setting correct?
$ echo $TERM xterm
$ env | grep -i term COLORTERM=rxvt-xpm TERM=xterm
$ env | grep -i less LESSCHARSET=latin1
What are the "correct" setting and how do you set them?
Also, my less man page is totally messed up. All other man pages seem to work.
Thanks, -gene
-- Lit up like Levy's
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/