[GH-ISSUE #240] Keepalive sends "backspace" key #3094

Closed
opened 2026-03-13 01:41:48 +03:00 by kerem · 3 comments
Owner

Originally created by @Sloppyedwards on GitHub (May 18, 2022).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/240

Hi,

I'm not sure if this is something unique to PRemoteM or KiTTY, but it's an issue I don't recall having with other SSH clients. When I have an open SSH session and am editing code (in VIM, for example), if I take a break to work on something else, when I come back to PRemoteM, I find that I have lost characters due to the "keepalive" keypress sending something equivalent to a backspace. How can I prevent this?

Originally created by @Sloppyedwards on GitHub (May 18, 2022). Original GitHub issue: https://github.com/1Remote/1Remote/issues/240 Hi, I'm not sure if this is something unique to PRemoteM or KiTTY, but it's an issue I don't recall having with other SSH clients. When I have an open SSH session and am editing code (in VIM, for example), if I take a break to work on something else, when I come back to PRemoteM, I find that I have lost characters due to the "keepalive" keypress sending something equivalent to a backspace. How can I prevent this?
kerem 2026-03-13 01:41:48 +03:00
Author
Owner

@VShawn commented on GitHub (May 19, 2022):

I think I've fixed this keepalive issue before #55 , using the default option of KiTTY

https://github.com/cyd01/KiTTY/blob/master/kitty_ini.txt#L57-L58

And it did reproduct on KiTTY.

PRemoteM can not prevent this currently since the kitty.ini is build inside the app.

Maybe in future version I can provide an option to disable keepalive.

<!-- gh-comment-id:1130978794 --> @VShawn commented on GitHub (May 19, 2022): I think I've fixed this keepalive issue before #55 , using the default option of KiTTY https://github.com/cyd01/KiTTY/blob/master/kitty_ini.txt#L57-L58 And it did reproduct on KiTTY. PRemoteM can not prevent this currently since the kitty.ini is build inside the app. Maybe in future version I can provide an option to disable keepalive.
Author
Owner

@Sloppyedwards commented on GitHub (May 20, 2022):

Thanks for your response!

What is the meaning of the '\k08\' string (what character is that supposed to represent)?
What is the difference between the KiTTY anti-idle string and the null packet keepalive feature carried over from PuTTY? I'm guessing that the anti-idle string should only be necessary on terminals where the null packet is insufficient to do the job?

<!-- gh-comment-id:1133257471 --> @Sloppyedwards commented on GitHub (May 20, 2022): Thanks for your response! What is the meaning of the '\k08\\' string (what character is that supposed to represent)? What is the difference between the KiTTY anti-idle string and the null packet keepalive feature carried over from PuTTY? I'm guessing that the anti-idle string should only be necessary on terminals where the null packet is insufficient to do the job?
Author
Owner

@VShawn commented on GitHub (Jun 23, 2022):

as cyd01 mentioned in https://github.com/cyd01/KiTTY/issues/383, we can simply remote the \k08\ to fix this ticket.

<!-- gh-comment-id:1163822352 --> @VShawn commented on GitHub (Jun 23, 2022): as cyd01 mentioned in https://github.com/cyd01/KiTTY/issues/383, we can simply remote the `\k08\` to fix this ticket.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/1Remote#3094
No description provided.