wodtelnetdlx background color changes in situ - WeOnlyDo Discussion board

wodtelnetdlx background color changes in situ (General questions)

by John, Monday, April 18, 2005, 14:59 (7158 days ago)

Hello,

I'm new to ssh and the requirements of communicating with a linux system whilst on an xp platform (using delphi 5 for development).

When I set the background color of my wodtelnetdlx control in my delphi 5 application to white (with black font) and log into my linux server via ssh, all is fine. I perform a few basic bash commands (date, ls, ps ax) and the responses displayed in the wodtelnetdlx terminal window are in black font and the background color remains white. The 'ps ax' command results in several lines of text, all of which are black in font against a white background.

However, when I perform an 'ls /' command, the resulting lines of text appear in white font with a black background. The wodtelnetdlx control is now dispalying a black background with white font, whereas it started with black font against a white background (my preferred settings).

How do I prevent the wodtelnetdlx control from changing its white background (and black text)?

Any assistance will be appreciated.

Re: wodtelnetdlx background color changes in situ

by wodSupport, Monday, April 18, 2005, 18:43 (7158 days ago) @ John

John,

hmm, I doubt you can. Your server is sending ANSI sequences which change those colors. Currently wodTelnetDLX doesn't have internal mechanism to ignore those ANSI sequences.. Hmm. Except perhaps StripANSI property, can you try to set it to True?