Bug 189161
Summary: | xterm does not use reverse colors with -r or -rv | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Florin Andrei <florin> |
Component: | xterm | Assignee: | Miroslav Lichvar <mlichvar> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | CC: | dickey |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-08-18 11:17:43 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Florin Andrei
2006-04-17 18:43:02 UTC
Well, xterm DOES flip the fg & bg colors when no xterm*{fore,back}ground Xresources are set; the Xresource settings override the flipped default fg & bg. This does seem rather counterintuitive, so I applied a patch which will flip the fg & bg AFTER the xterm*{fore,back}ground resources take effect - fixed with xterm-213-1.FC4, being released to updates/testing today. xterm-213-1.FC5 has been pushed for fc5, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report. xterm-213-1.FC4 has been pushed for fc4, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report. Actually it's not xterm that does the flipping, but Xt. And (looking at your patch) Xt doesn't flip the colors if they're done explicitly via the -fg or -bg options. Reading the bug report though, I'd thought we were only talking about "xterm -rv". The patch works for the case where we have "xterm -rv -fg red -bg blue", but not when colors are applied to the vt100 widget as in XTerm-col.ad's commented-out (and uncommented on my machine): ! Uncomment this for "white" text on a dark background. !*VT100*foreground: gray90 !*VT100*background: black Revisiting this - I don't see the failure that I noted before. Will add that change (and look for reproducible issues ;-) |