I just downloaded hpterm and compiled it for the first time. I
typed in 'hpterm -e telnet my.host.com', and the hpterm
window appeared on my screen with a white background
and black text, which is fine. The results of the telnet
command display on the screen normally; however, the HP
login prompt then switches to black text with a black
background, thus making it impossible to read. As I type in
my HELLO string, the first few characters then show up
normally as black text with a white background, then the
characters begin switching between black or white
backgrounds for the rest of the HELLO string. This behavior
continues for the rest of the session, with the characters
seemingly randomly switching background and foreground
colors. Sometimes the text will be black on white, sometimes
it will be white on black, or black on black, or white on white.
I noticed that if I type in 'hpterm' without any options, I get a
shell prompt running inside the hpterm window, and the
same color-switching behavior occurs there as well as I type
characters.
I'm running Slackware -current, with KDE 3.4, and QT 3.3.4.
Any help on fixing this problem would be appreciated.
Thank you!
Logged In: YES
user_id=1234742
I found the problem.
In QcwTextWidget::tDraw::tDraw( QcwTextWidget* aTW ), if the
cursor is currently visible, the raster op is set to XOR and
not changed back. To fix the problem, add "setRasterOp(
CopyROP );" at the end inside the if statement. I wonder
why this suddenly became an issue with QT 3.3. We didn't
have this problem before with QT 3.0, although it seems it
should have.