Color detection 17 Years, 5 Months ago
|
|
We're evaluating AT 4.51 as a replacement for Procomm Plus 32 (aka 4.7) for two reasons: 1) support for keep alives and 2) support for SSH.
Under Global options I have "Autodetect ANSI color settings" set for Prompt (I also tried Yes), but when I connect to a host that sends color sequences, AT shows black and white instead of color. Yet if I connect to the same host using Procomm, the colors are what I'd expect.
I'm running VT100 emulation on both.
What am I doing wrong?
|
|
|
Logged
|
|
The administrator has disabled public write access.
|
|
Re: Color detection 17 Years, 5 Months ago
|
|
The most probable answer is that the host is not sending color to you, at least not to AbsoluteTelnet. The host application probably checks the value of the TERM variable and decides whether your client is capable of displaying color. A real vt100 would not be able to display color, for example. The host may choose not to send it.
To be sure, check the value of the TERM variable after logging in using Absolute and Procomm. What are the values under each?
You might also try switching Absolute to something like 'xterm' which supports colors.
Let me know if any of this helps or if you need further guidance.
|
|
bpence (Admin)
Admin
Posts: 1402
|
Logged
|
|
Brian Pence
Celestial Software
SSH , SFTP, and Telnet in a tabbed interface for Windows XP, Vista, Mobile, and others
|
|
The administrator has disabled public write access.
|
|
Re: Color detection 17 Years, 5 Months ago
|
|
Logging in under AT and Procomm both result in Linux (Red Hat ES 3) reporting TERM=vt100.
I did a "raw" capture under Procomm of the text coming in and the escape codes are there. If I cat the captured file under Procomm, I get the colors (as I would expect). If I cat the file under AT, it only does black-and-white.
Under AT, if I go to Options->Properties->VT Options->Terminal Type->xterm and then cat the file, I get the same results (black-and-white).
I will send you attachments via private email.
|
|
|
Logged
|
|
The administrator has disabled public write access.
|
|
Re: Color detection 17 Years, 5 Months ago
|
|
Excellent sleuthing. I look forward to seeing the file.
|
|
bpence (Admin)
Admin
Posts: 1402
|
Logged
|
|
Brian Pence
Celestial Software
SSH , SFTP, and Telnet in a tabbed interface for Windows XP, Vista, Mobile, and others
|
|
The administrator has disabled public write access.
|
|
Re: Color detection 17 Years, 5 Months ago
|
|
Todd,
I got the file and I've looked at it. There is no color data in the file, but there are codes to turn on/off BOLD and REVERSE text. It's possible that you have Procomm configured to display BOLD and REVERSE as a different colors. AbsoluteTelnet uses a bold font to display bold text and inverted colors to display reversed text.
If you have access to the code for the host system, you could actually change it to issue *real* color codes.
|
|
bpence (Admin)
Admin
Posts: 1402
|
Logged
|
|
Brian Pence
Celestial Software
SSH , SFTP, and Telnet in a tabbed interface for Windows XP, Vista, Mobile, and others
|
|
The administrator has disabled public write access.
|
|
Re: Color detection 17 Years, 4 Months ago
|
|
Yep, that's exactly what Procomm was doing -- mapping bold/reverse to colors.
|
|
|
Logged
|
|
The administrator has disabled public write access.
|
|
|