LinuxQuestions.org
Visit Jeremy's Blog.
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, 05: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-17-2006, 12:53 AM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

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

Rep: Reputation: 38
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


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


All times are GMT -5. The time now is 04:18 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration