Re: OpenVMS: Connecting and Issuing Commands (General questions)

by mmorton, (5778 days ago) @ mmorton

Hi,

If anyone ever has this error message then you can resolve this by responding to the escape chars that VMS sends out. Not sure if this is relevant to any other OS types.

[code]
sshConnection.Connect()
sshConnection.WaitFor(Chr(27) & [c )
sshConnection.Execute(Chr(27) & [?1;1c , regex:[$ #>] , 30)
[/code]

This resolves the issue and tells VMS the terminal type.

Regards
Mike

locked

Complete thread: