LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Thread Tools
Old 12-16-2006, 05:31 PM   #1
sprocketboy
LQ Newbie
 
Registered: Nov 2003
Location: Phoenix, AZ
Distribution: Mandriva
Posts: 2
Thanked: 0
Angry Less outputs ANSI escape sequences


[Log in to get rid of this advertisement]
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
sprocketboy is offline     Reply With Quote
Old 12-17-2006, 12:53 AM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware 12.1, Slackware 13.0
Posts: 3,788
Thanked: 20
Try using the -r or -R options with less - for example:
Code:
ls -lR --color=always /usr | less -r
gilead is offline     Reply With Quote
Old 08-05-2009, 09:22 PM   #3
DaveQB
Member
 
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: Mandriva 2009.1, Debian Etch
Posts: 344
Thanked: 7
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.
DaveQB is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 08:18 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration