0
1
I'm working on CentOS.
I frequently use sftp for transfer files.
But after I connect to sftp 'delete' key does not work.
When I press 'Delete' only '~' typed.
On the ssh command delete key works but only in sftp does not work and print '~'.
How du I have to figure out this..?(I want to use delete key)
Not sure. In my Debian I have
sftp
fromopenssh-client
package (version1:7.4p1-10+deb9u6
). I can edit lines, delete does work. Tested by connecting from Windows to my Debian via PuTTY with local line editing forced off, keypad sequences setting: "Linux"; then connecting withsftp
to yet another host. The sequence "Ctrl+v delete" prints^[[3~
. (Note: after I change "Linux" to "VT400", delete prints~
insftp
(it's actually^[[4~
) but it stops working as delete in the shell). Cansftp
in Debian be so much modified? Or did I test it wrong? Or is your belief wrong? – Kamil Maciorowski – 2019-09-05T11:56:54.817I do not know. Anyway, even with your non-default settings, it does not work for me (even though the Delete works in the shell). – Martin Prikryl – 2019-09-05T12:02:40.757