Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124186 - sys-apps/less: Syntax highlighting (via code2color) assumes white background
Summary: sys-apps/less: Syntax highlighting (via code2color) assumes white background
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-26 10:43 UTC by Randall Nortman
Modified: 2006-02-26 11:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randall Nortman 2006-02-26 10:43:37 UTC
When you view a type of file which lesspipe.sh sends through code2color for syntax highlighting, it assumes that the file will be displayed on a white background.  This is very annoying when the terminal background happens to be dark, which I think is the more common configuration these days, because then the dark-colored text is nearly impossible to read.  None of the documentation mentions any way to change this behavior (AFAICT), and the only workaround is to disable highlighting entirely with the -L switch to less.
Comment 1 SpanKY gentoo-dev 2006-02-26 11:05:50 UTC
create a local config file ~/.code2html.config