spodskubka / RemoteTerminal

An SSH/Telnet terminal emulator for Microsoft Windows
56 stars 41 forks source link

Function keys always send tilde ~ character / editing control sequences #24

Open jotaf98 opened 7 years ago

jotaf98 commented 7 years ago

Hi, first of all, great work with this app! It feels like a modern replacement for PuTTY and MobaXTerm, and I like it a lot.

With that said, there's a little snag that keeps it from fully replacing them. It has to do with the way in which keys (e.g. F1-F12) are sent over SSH. Some control commands should be sent to represent them:

https://unix.stackexchange.com/questions/53581/sending-function-keys-f1-f12-over-ssh

Unfortunately, not all systems agree on the same control sequences. This is the reason why PuTTY has a "Keyboard" section of the options, to choose from a series of preset schemes.

I'm trying to use Byobu remotely on CentOS and it depends on the F1-F12 keys. I'm not sure what the default on RemoteTerminal is, but it produces tilde characters for some function keys (others seem to be sent correctly).

If it were possible to configure the control sequences that are sent manually, even if not through the GUI, I would be able to do it. Presets like PuTTY would be nice, though I'm not sure it's possible to cover all cases. https://askubuntu.com/questions/529258/putty-byobu-tmux-and-function-keys