Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935703 - sys-apps/less-661, lesspipe coloring: Very hard to read: Make style configurable & document it
Summary: sys-apps/less-661, lesspipe coloring: Very hard to read: Make style configura...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-07 06:49 UTC by Klaus Kusche
Modified: 2024-08-06 16:52 UTC (History)
1 user (show)

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 Klaus Kusche 2024-07-07 06:49:32 UTC
The pygmentize coloring style changed to "rrt" with less-661
(see bug 924627).

"rrt" looks very nice in terminals with black background,
but is almost impossible to read on terminals with white background:
Large parts (especially important parts) of the text are colored 
in a very light grey, which is almost indistinguishable from the white background (it's even worse during presentations with beamers in well illuminated rooms).

* Could you please make the style easily configurable?
(e.g. by introducing an environment variable for it?)

* Could you please document (e.g. as an emerge info)
how to list the available styles and how to set a style?

* Could you either choose a default which works reasonably well
on both white *and* black background terminals,
or perhaps introduce a USE variable to set the default 
for either white or black background?
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-07 06:50:04 UTC
Yeah, a very fair set of requests. I was wondering about this earlier.
Comment 2 Pacho Ramos gentoo-dev 2024-07-09 12:47:15 UTC
In my case I switched to "igor" style, and it looks nice to me for black and white backgrounds
Comment 3 Pacho Ramos gentoo-dev 2024-08-06 16:52:54 UTC
Hi!

I would simply switch to "igor" by default. I am using it in all my maintained machines for some weeks and nobody complained (and I have users with white and black backgrounds)

Thanks