
VT100 Emulation using MSCOMM control in VB5
Quote:
>Problems Problems.....
>I have successfully used the MSCOMM control in VB5 Professional to
>communicate to an old VAX terminal VT system interactively. However, the
>ONE thing I cannot seem to emulate is the logon sequence.
>Sending the username and password is no problem, but there is some kind of
>handshake that goes on during logon which verifies the emulation of the
>terminal. If I use windows terminal, or HyperTerminal, then selection of
>the emulation type is straight forward by use of the menu options. How do
>I synthesize this in VB code? What are the codes sent/received which I
>need to duplicate? How can I trick the host to believe I am a VT100 (ANSI)
>terminal?
>Any suggestions gratefully received,
immediately after log-on wait for a 'esc[0c' code sequence from the
remote (or it may send 'esc[c' they are the same request) then reply
with 'esc[?1;0c' to indicate that a VT100 terminal is calling.
Of course don't include the quotation marks or take the 'esc' bits above
literally, 'esc' represents the escape character (Chr(27)).
I hope this helps
--