kingToolbox / WindTerm

A professional cross-platform SSH/Sftp/Shell/Telnet/Serial terminal.
https://kingtoolbox.github.io
22.86k stars 1.76k forks source link

Issue connecting to old (OpenVMS) systems #1956

Open gege-fr opened 10 months ago

gege-fr commented 10 months ago

Hello,

Windterm seems very interesting so i'm trying to use it. One thing i need is to connect in SSH to old systems (OpenVMS) and i have issues.

If i use WindTerm 2.5.0 depending on term type : VT100 or VT102 : seems OK but when i press functions keys (F10 for exemple) nothing happens (might be normal in VT100 ?) Any "higher" term i get a lot of different control chars displayed on screen ( ESC["v , CSIK , CSI22, CSI;7m , CSIm , CSI22A and so on... however Functions keys work properly)

If i use WindTerm 2.6.0 pre-release 4 ssh session doesn't even establishes and i have the error : Received SSH_MSG_DISCONNECT: 2:Postponed channel in CHANNEL_EOF. The session is disconnected, press Enter to reconnect.

Any chances there is a work around or that i could help fix that for a future release ?

kingToolbox commented 10 months ago

You are welcome.

First of all, VT100 and VT102 does not support the F10 keys, which is normal behavior. According to the system manual, VT100 and VT102 only support keys such as F1, F2, F3, F4, F11, F12 and F13. As for other terms, OpenVMS cannot understand the commands sent from WindTerm. You can read Using SET TERMINAL to learn more.

Regarding the second issue, it is clearly a bug, and I will attempt to analyze and fix it. If I need help, I will let you know, thank you.

gege-fr commented 10 months ago

Thanks for the answer.

I just tested with the latest pre-release 5 and the issue is still the same.

Don't hesitate if I can help you.

gege-fr commented 10 months ago

Could it be a duplicate of that issue : https://github.com/kingToolbox/WindTerm/issues/1742 ?