Re: OpenVMS: Connecting and Issuing Commands - WeOnlyDo Discussion board

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

by mmorton, Tuesday, July 07, 2009, 23:16 (5619 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


Complete thread: