Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 12-16-2006, 05:31 PM   #1
LQ Newbie
Registered: Nov 2003
Location: Phoenix, AZ
Distribution: Mandriva
Posts: 2

Rep: Reputation: 0
Angry Less outputs ANSI escape sequences

Ever since I updated to Mandriva 2007.0, less has become pretty much USEless because it just outputs something like:


with the 'ESC' reverse-highlighted, even if I am just trying to look at an ASCII text file.

I've been trying to find an answer using google, and from what I can tell, this might be an ANSI escape sequence for cursor placement or color change. It seems that less has forgotten how to speak that language.

I've also noticed problems in the displays of other console-output programs, like drakxconf.

Are these escape sequences supposed to be handled by another package? Ncurses, maybe?

Is there a configuration file somewhere that tells less where to look for the "ANSI sequence delegate?"

I have no clue where to start looking for the cause of this problem. Someone please give me one.

Old 12-17-2006, 12:53 AM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 165Reputation: 165
Try using the -r or -R options with less - for example:
ls -lR --color=always /usr | less -r
Old 08-05-2009, 09:22 PM   #3
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: PCLinuxOS 2010.12, Debian Lenny
Posts: 396

Rep: Reputation: 38
Originally Posted by gilead View Post
Try using the -r or -R options with less - for example:
ls -lR --color=always /usr | less -r
Thank you!!!
I checked the manual for less but didn't pick this one up.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
echo out CTRL- sequences how to? jamesps Linux - General 0 07-22-2005 05:16 PM
Analyzing Protein Sequences Lostlucidty Linux - Software 7 05-24-2005 11:14 AM
listing sequences of files to the shell jimmyj90 Linux - Newbie 4 10-20-2004 06:18 PM
How to stop terminal escape sequences ? Mike Davies Linux - Newbie 1 08-08-2004 12:37 PM
Xterm escape sequences GrayGh0st Linux - Software 3 07-19-2003 01:10 AM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration