× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello,

fschnittke@xxxxxxxxxx wrote:
I'm trying to get green text on a black background. All I can get is white text on a black background.

This means that the xterm is ignoring the color codes that TN5250 is sending to it.

exec xterm -name "xt5250" -bg black -fg darkGoldenrod4 +ah -cr plum -T "xt5250 - $XT5250_HOST" \
+sb -tn xterm-5250 -geometry 80x25 -e "$0" -BOOT -y IBM-3477-FC "$@"

My suggestion.... instead of setting the color with -bg, -fg, -cr, etc... try removing the '-tn xterm-5250' from the script. This -tn switch tells it to use the xterm-5250 termcap definition -- and as far as I know, we do not create an xterm-5250 termcap for NetBSD or OpenBSD, so I wonder if it's falling back to a default terminal type that doesn't support color?

Try removing the "-tn xterm-5250" from the script -- that should have it use the default definition for an xterm, which I hope will lead to TN5250 being able to tell xterm what colors to display.

As James mentioned, green text on black background with white for bold is the DEFAULT color output by tn5250... you shouldn't have to change anything to get those settings.

That's why I suspect the -tn xterm-5250 might be messing you up.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.