Login  
Search All Forums
Dart Home | PowerTCP Emulation for ActiveX | Custom Development Reply | PowerTCP Emulation / Telnet for ActiveX Topics | Forums   
AuthorForum: PowerTCP Emulation / Telnet for ActiveX
Topic: Compatiblity with Linux telnet clients?
pbrand

From: Sweetwater, TX USA
Posts: 1
Member Since: 02/16/06
posted February 27, 2006 10:07 AM

Hello,

We are using an application that uses the powertcp telnet control. We have found that we can not use the standard Windows XP (command prompt) and Linux telnet clients. It "appears" that the using your control does not handle the echo correctly, so everything we type is duplicated. The vendor who makes the software, says thats how it is (This doesn't seem right), and that we need to use a telnet client that has an option to force echo off (which the XP and Linux telnet clients do not seem to have). 

I am hoping you could provide me some information that I could pass along to the vendor, so they can correct their software. The vendor is basically recommending a windows telnet client (SimpTerm) which will not work for us, because we are planning to connect via thin clients running Linux to their application.

Using Ethereal we did determine that their application and the telnet clients are not doing any kind of negotiating at all as to what options are available. This would seem to indicate that the server has the "AutoOption" property set to FALSE, correct? If we can get the vendor to enable this, will this fix our echo problem? There is also an "Echo" property that may help?

We feel that if we can get their app to work correctly with the XP telent client (telnet.exe), then the linux client would work as well, as they both have the same echo problem.

Thanks for any help you can offer.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted February 28, 2006 9:09 AM

When talking to a server that echoes (most telnet servers do) then you should only display characters when they are received from the server and not when they are sent by the client.

Here is the code where we send the key press. Note that we set the Key to 0 so that it will not be displayed and further events will not fire:

  If Telnet1.State = tcpConnected Then
    Telnet1.Send Chr(KeyAscii)
  End If
  KeyAscii = 0

The Master

From: Green Bay, WI USA
Posts: 48
Member Since: 02/07/01
posted August 28, 2006 4:21 PM

This could be due to issues with the modern Linux installs using UTF-8 for their character set. Have you tried setting your connection to use LANG=en_US?

We had that problem with our terminal/vt stuff and Red Hat ES 4.0.
Reply | PowerTCP Emulation / Telnet for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX