VT100 Emulation using MSCOMM control in VB5 
Author Message
 VT100 Emulation using MSCOMM control in VB5

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,

Steve



Wed, 10 May 2000 03:00:00 GMT  
 VT100 Emulation using MSCOMM control in VB5

I believe the VAX system is waiting for a terminal type message to come
through the com port. Not sure if this would help, but you should be able to
...
User> SET TERM VT100
as soon as you are logged in to force the VAX to treat you like a VT
terminal.


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,

>Steve



Thu, 11 May 2000 03:00:00 GMT  
 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
--



Sat, 13 May 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. VT100 emulation via MSCOMM.VBX

2. VT100 Terminal Emulation Control Needed

3. VT100 emulation in .Net?

4. VT100 Emulation Code

5. VT100 emulation

6. Programming VT100 Emulation?

7. Q: vt100 Emulation package for VB?

8. vt100 emulation

9. VT100 Terminal Emulation.

10. VT100 Terminal Emulation

11. vt100 emulation

12. VT100 Emulation in a VBX?

 

 
Powered by phpBB® Forum Software