LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-16-2006, 04:31 PM   #1
sprocketboy
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:

ESC%G

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.

less-394-4mdv2007.0
ncurses-5.5-1.20051029.4mdv2007.0
 
Old 12-16-2006, 11:53 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Try using the -r or -R options with less - for example:
Code:
ls -lR --color=always /usr | less -r
 
Old 08-05-2009, 08:22 PM   #3
DaveQB
Member
 
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: Debian, Ubuntu
Posts: 400

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


Reply



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 04:16 PM
Analyzing Protein Sequences Lostlucidty Linux - Software 7 05-24-2005 10:14 AM
listing sequences of files to the shell jimmyj90 Linux - Newbie 4 10-20-2004 05:18 PM
How to stop terminal escape sequences ? Mike Davies Linux - Newbie 1 08-08-2004 11:37 AM
Xterm escape sequences GrayGh0st Linux - Software 3 07-19-2003 12:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:50 PM.

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