Eugeny / tabby

A terminal for a more modern age
https://tabby.sh
MIT License
59.86k stars 3.41k forks source link

CTRL-C does not work, when connected over a proxy host #5753

Closed chefschaffner closed 2 years ago

chefschaffner commented 2 years ago

Describe the problem: CTRL-C does not stop the running process. Im using ssh over a proxy. Everything works fine, but I'm not able to stop a running process via CTRL-C.

I tried with setting the shortcut for intelligent CTRL-C /copy/abort) to CTRL-C and tu NUL.

On a connection without proxy it works well.

To Reproduce:

Eugeny commented 2 years ago

What's your proxy configuration? (jump host / corkscrew / socks)

chefschaffner commented 2 years ago

I'm using a jump host at port 22.

Eugeny commented 2 years ago

Does Ctrl-C work on the jump host itself?

chefschaffner commented 2 years ago

Yes, it does.

chefschaffner commented 2 years ago

Hi @Eugeny , I'm sorry - my last information was wrong. I switched to connection without jump host this week and just now I found, that CTRL-C does also not work when using a direct connection.

I'm wondering, if there is a relation to 'tail', because today the problem occurs while using tail again....

Beg your pardon fpr misinformation

Eugeny commented 2 years ago

No problem. Can you run showkey -a and see what keycode ctrl-c is generating on the other side?

chefschaffner commented 2 years ago

^C 3 0003 0x03

Eugeny commented 2 years ago

Do other processes stop on ctrl-c? Is it about tail -f only?

chefschaffner commented 2 years ago

Sorry for the long time, but now I found the error: The problem sat in front of the Monitor.... I had a wrong prompt setting, where a unnecessary character lead to this error.

I cannot explain - but now it works. Sorry for that!

Eugeny commented 2 years ago

No problem, thanks for posting a followup.