× 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.


  • Subject: Re: tn5250 using X
  • From: "Jason M. Felice" <jasonf@xxxxxxxxxxxxxxxx>
  • Date: Wed, 1 Dec 1999 23:32:04 -0500

On Wed, Dec 01, 1999 at 11:29:04AM +0000, Martin Rowe wrote:
> On an unrelated subject, how is coulour handled by the emulator? I get both
> blue and turquiose as the same colour, but blue is in a bolder font (both
> look like the turquiose as seen on a colour dumb terminal or CA emulation
> session). Is this a tn5250 thing, or something to do with my colour mapping
> somewhere?

The colour mapping is hard coded in cursesterm.c - the init_pair() calls are
what initialize colours.. do 'man curs_color' (Yes, I'm American but I like the
other spelling .. too many Clive Barker/Douglas Adams books at an
impressionable age :)

Feel free to tweak them and recommend a better combination.  The colour
mappings used by the S/Lang interface (enabled with --with-slang option to
configure) are different and (IMHO) worse.  Of course my opinion really isn't
so humble there, since I wrote that code :)  That is hardcoded in slangterm.c
You'll have to find the S/Lang documentation in a distribution-specific place
to figure out how to tweak that.

The warning is that there aren't many colours to choose from.

-Jay 'Eraserhead' Felice
+---
| This is the LINUX5250 Mailing List!
| To submit a new message, send your mail to LINUX5250@midrange.com.
| To subscribe to this list send email to LINUX5250-SUB@midrange.com.
| To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.