Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 1006

Summary: less cannot handle colored fonts
Product: Gentoo Linux Reporter: Eugene Koontz <ekoontz>
Component: Current packagesAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 1.0 RC6 r14   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Eugene Koontz 2002-03-07 14:58:51 UTC
To reproduce :

emerge --help | less

You will see :
ESC[01mYou can also type "emerge --help system", "emerge --help rsync" and
"emerge --help config" for additional help.ESC[0m

The "ESC[01m"'s are colors I believe, but less cannot deal with them.
more handles them fine, but I like to use less...
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-03-07 15:00:47 UTC
This is not a bug.  Use "less -r", as described in the man page.