ssh kitten: Allow pressing Ctrl-C to abort ssh before the connection is completed

Fixing this involved adding a new mode to kitty where it handles
ctrl-c/z/q by sending signals to the tty foreground process group
instead of delegating to the kernel to do that. Since the pipe may be
full we have no way of knowing when the kernel will get around to
reading the signal byte. So send the signal ourselves.

Fixes #5271
This commit is contained in:
Kovid Goyal
2022-07-20 19:11:14 +05:30
parent bd9e1f58fe
commit 7215c6d6be
9 changed files with 62 additions and 2 deletions

View File

@@ -71,6 +71,9 @@ Detailed list of changes
- ssh kitten: A new option :code:`--symlink-strategy` to control how symlinks
are copied to the remote machine (:iss:`5249`)
- ssh kitten: Allow pressing Ctrl-C to abort ssh before the connection is
completed (:iss:`5271`)
- Bash integration: Fix declare not creating global variables in .bashrc (:iss:`5254`)