Red Hat Bugzilla – Bug 188155
ELinks displays text with the same colour as the background on XTerm
Last modified: 2007-11-30 17:11:29 EST
Description of problem:
ELinks displays the text of some HTML pages with the same colour as the
background when using it in XTerm.
Those same HTML pages are displayed correctly on ELinks with a Gnome-Terminal.
Also when using the latest ELinks (0.12-20060406) compiled from source the same
HTML pages are displayed correctly.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run ELinks on XTerm to display some simple HTML page (for example the
The text of the HTML page is displayed with the same colour as the background
resulting in invisible text.
The text should be displayed with some other colour than background colour.
Created attachment 127408 [details]
Simple HTML page that exposes the problem.
Pleaese, try change terminal settings (F9 -> Setup -> Option Manager). I'm not
sure if we're able to found setting which works well for all terminals.
Note: I have switched to FC6 and don't have the old FC5 installation left.
Changing settings as suggested helps, the text is visible.
Using XTerm in 256 color mode helps.
Not using Fedoras default background/foreground settings for XTerm helps (I
used: xterm -fg white -bg black).
Using latest stable ELinks (0.11.2, installed from source) helps.
So plenty of work-arounds, and eventually, when you update ELinks to Fedora,
this problem will go away. Perhaps set resolution of this bug to nextrelease?
Below are notes I made while doing some new testing now on FC6 with ELinks
version 0.11.1-5.1. To me it looks like on some occasions the background and/or
foreground default document color settings are not set.
Switching to 2 color mode helped, text is visible.
I can't choose 256 color modes even with TERM set to xterm-256color from any of
the xterm/xterm-color/xterm-256color terminal settings, only 2 or 16 color modes
are possible to set.
Changing background to black and foreground to white helps.
Elinks settings says default background is black but it's not switched to, the
background stays whatever it is set in XTerm (white in my case).
Changing the default font or background color helps. Looks like the only problem
is with the default settings for default font and background color.
Removing $HOME/.elinks and trying with TERM=xterm didn't help, but now it works
when TERM=xterm-256color without changing settings. I probably had changed some
settings with earlier ELinks version, now after removing $HOME/.elinks I am not
able to get the problem appearing again with TERM=xterm-256color.
Removing $HOME/.elinks and trying with TERM=xterm-256color works. Though the
document default colors specified in ELinks settings are not obeyed: background
and foreground (text color) are not changed to them.
Just checked with F7 elinks rpm and it seems to be ok. So closing as NextRelease.