From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Subject: Re: Using Sockets and a Terminal Server to Access Hardware.
Date: 1997/03/10 [thread overview]
Message-ID: <5g1l06$85d$1@apakabar.cc.columbia.edu> (raw)
In-Reply-To: 3323678E.2263@pc.jaring.my
In article <3323678E.2263@pc.jaring.my>,
Ranjit Singh Banwait <era@pc.jaring.my> wrote:
: I am playing around with interfacing to some hardware
: through a Dec700 terminal server. I enabled the telnet
: server service on a port of the terminal server and
: plugged my hardware in. Then I made a tcp/ip socket
: connection to the port. I stay in the NVT mode of the
: telnet server application I communicate with the hardware.
:
: Problem:
: I am able to get data from the hardware into my program but
: I have problems when the hardware sends a byte with hex
: value FF or when the hardware sends a carriage return.
: A byte FF is followed by a second FF which is added by the
: telnet server(I think)
: A carriage return is followed by a NULL character(decimal 0).
:
It sounds like your Telnet client is not in NVT mode. If it
were, it would take care of these items. Some Telnet clients
behave this way if they have been told to use a socket number
other than 23.
: Is there a way I can configure NVT to prevent it from messing
: with my data.
:
You didn't say what kind of computer or OS your Telnet client
is running on. In any case, why don't you try using Kermit
as your Telnet client? It has all sorts of controls that might
be lacking from whatever Telnet client you are presently using.
It will handle the FF business automatically, and the CR
business can be tamed with explicit settings, such as "set
telnet newline-mode".
http://www.columbia.edu/kermit/
- Frank
next prev parent reply other threads:[~1997-03-10 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-03-10 5:00 Using Sockets and a Terminal Server to Access Hardware Ranjit Singh Banwait
1997-03-10 5:00 ` Frank da Cruz [this message]
1997-03-10 5:00 ` Aaron Leonard
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox