On Sun, 13 Aug 2000, Alexander Lichius wrote:

> Hello
> 
> i have posted a message regarding my problem some time ago, but i
> received no suiting solutions and i missed the list for quite a time
> too.
> so i try to detail my problem as much as possible:
> 
> i am working on a "small" linux with only the essential files
> installed. so it might be possible that it isn't actually a tn5250
> topic.
> 
> i installed the tn5250 package on my linux box and after calling
> xt5250 i discovered that i only have black/white colours (even in the
> dialog prompt for the server adress). everything else seems to work,
> but now i am wondering how i get my colours to work with tn5250.
> could it be a failure or missing file to libncurses or xterm?
> 

I had a similar problem when xterm wasn't able to use the proper
termcap/terminfo entry for some reason.   make sure that you can use the
xterm-5250 terminfo entry on your system.

To narrow down the problem, you might try manually doing what xt5250 does
for you.  From an ordinary xterm type:

export TERM=xterm-5250  (or setenv TERM xterm-5250 under csh/tcsh)
tn5250 as400.mydomain.com  

See if you get colors.   If you do, then edit your xt5250 script, and see
why its not finding that terminfo entry...

If the above example still yields black & white, the xterm-5250 terminfo
probably didn't get installed.  If thats the case, you might try:

export TERM=xterm-color
tn5250 as400.mydomain.com
 
Which should give you colors (but not all of the function keys) and then
you can try to figure out whats up with getting the terminfo entry
installed :)

If this doesn't help, try giving us the name of the operating system that
you're running (which flavor of Linux, which version) as well as which
version of tn5250 you're using, and if you installed it from source or
from rpm, etc.

> 
> Best regards,
>  Alexander                          mailto:[EMAIL PROTECTED]
> 

Good Luck!



+---
| This is the LINUX5250 Mailing List!
| To submit a new message, send your mail to [EMAIL PROTECTED]
| To subscribe to this list send email to [EMAIL PROTECTED]
| To unsubscribe from this list send email to [EMAIL PROTECTED]
| Questions should be directed to the list owner/operator: [EMAIL PROTECTED]
+---

Reply via email to