× 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: Color-Settings xt5250
  • From: Martin Rowe <jamaro@xxxxxxxxxxxxxx>
  • Date: Tue, 1 May 2001 07:30:18 -0700 (PDT)

Hi all

--- Carey Evans <carey@paradise.net.nz> wrote:
>"Alfred H. Schroeder" <alfred.schroeder@gonicus.de> writes:
>
>> My question: where can I set the colors used for xt5250 / tn5250?
>
>The colours used by tn5250 are defined at the top of src/cursesterm.c.
>You'll need to edit this file and recompile to change the colours.

Ahh, I've been wondering how to do that for the last couple of years (since 
starting with Linux and tn5250) - it's good to find out at last :) 
Incidentally, is there a particular reason why blue is defined as
#define A_5250_BLUE     ((attr_t)COLOR_PAIR(COLOR_CYAN) | A_BOLD) 
rather than 
#define A_5250_BLUE     ((attr_t)COLOR_PAIR(COLOR_BLUE) | A_BOLD)

I've just swapped mine over to the latter so it looks more like a 'real' 
terminal (whatever that is) and is easier to differentiate between blue & 
turquoise (cyan without bold) on the screen. I left the A_BOLD in as it does 
make it a bit clearer. 

Regards, Martin

==
martin@dbg400.net / jamaro@firstlinux.net 
http://www.dbg400.net - Free AS/400 software for setting up test environments. 
Other utilities available.

_____________________________________________________________
Want a new web-based email account ? ---> http://www.firstlinux.net
+---
| 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 ...


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.