Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The shortcut keys you use for certain tools may be interpreted differently in the terminal which can cause issues.

A typical case is the Ctrl+S shortcut key which is used for saving in many Windows programs.


In most UNIX/Linux termianls, Ctrl+S works as a 'stop' signal and will cause the terminal to stop outputting characters.

This causes users to think they've been disconnected from the server and they attempt to connect again.

...

To disable the Ctrl+S key altogether, you have two options.


First, in Xshell, map Ctrl+S to send a string but don't actually specify any string.

Navigate to 'Tools - Options - Keyboard and Mouse - Key Mapping - Edit - New...' and set Ctrl+S to the 'Send String' Type. Leave the string blank and click OK.

...

In the terminal, the key values can by checked using the  'stty -a' command and be overridden using the 'stty' command.


Code Block
stty stop ""


The command above will not assign any key to the 'stop' signal.


Code Block
stty stop "^A"


The command above will assign Ctrl+A for the 'stop' signal.  ^A is a character that appears when pressing Ctrl+V, Ctrl+A in succession.

Depending on the system you can tie the Shift+6(^) and A characters together using ""