Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Winsock, VT100, unix, writetoterminal

4 views
Skip to first unread message

Doug Smith

unread,
Nov 18, 2002, 8:05:55 PM11/18/02
to
I am new to this control so forgive my ignorance. I am connecting via
winsock and using the terminal in a telnet session. It works fine as long as
I am doing the typing. My problem is that I can not seem to simulate typing
via the activex terminal properties. The information I want to show up (in
this case just a 'ls' command) does show up on the terminal, but it does not
execute. I have tried CR, LF, CR+LF to no avail. Anyone have an idea?


Mike Welch [TurboPower Software]

unread,
Nov 19, 2002, 12:51:30 PM11/19/02
to
Doug,
TerminalWriteString doesn't send the chars out the port, you need to use
PutString, PutData or PutStringCRLF to do that. Most terminal servers will
echo the command back, if it doesn't you can do something like this:

...
Apax1.TerminalWriteStringCRLF("ls");
Apax1.PutStringCRLD("ls");
...
That will write it to the terminal window and send it out the port.

--
Mike Welch (TurboPower Software)
God Bless America

"Doug Smith" <doug.e...@itt.com> wrote in message
news:2BErPf2j...@tpsmail01.turbopower.net...

0 new messages