adrianlopezroche / fdupes

FDUPES is a program for identifying or deleting duplicate files residing within specified directories.
2.42k stars 186 forks source link

Unable to use backspace key in interactive mode #159

Closed jamespole closed 2 years ago

jamespole commented 2 years ago

I run Arch Linux using the fdupes package which seems to be most current upstream version.

james@james-laptop:~$ pacman -Q fdupes
fdupes 1:2.1.2-1

james@james-laptop:~$ uname -smr
Linux 5.13.13-arch1-1 x86_64

For some reason I can't use the backspace key when in interactive mode. It just won't backspace at all, so when I make a mistake I have to Ctrl-C to retype my command. I observe this behavior on both my laptop as well as a VPS of mine running the same package/OS/Kernel.

Is this expected behavior or something I can help debug?

adrianlopezroche commented 2 years ago

Backspace, delete, and arrow keys should all work and work fine on my system. Don't know what's going on with Arch, but maybe something to do with ncurses or terminal keyboard maps?

On Sat, Sep 4, 2021, 1:24 AM James Anderson-Pole @.***> wrote:

I run Arch Linux using the fdupes https://archlinux.org/packages/community/x86_64/fdupes/ package which seems to be most current upstream version.

@.***:~$ pacman -Q fdupes fdupes 1:2.1.2-1

@.***:~$ uname -smr Linux 5.13.13-arch1-1 x86_64

For some reason I can't use the backspace key when in interactive mode. It just won't backspace at all, so when I make a mistake I have to Ctrl-C to retype my command. I observe this behavior on both my laptop as well as a VPS of mine running the same package/OS/Kernel.

Is this expected behavior or something I can help debug?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/adrianlopezroche/fdupes/issues/159, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPQT7ILRZNIUS3NCX254NTUAGUPBANCNFSM5DM5KBFQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

jamespole commented 2 years ago

Interesting, I've just tested the arrow keys as well the delete key-and they all work fine! Seems to be just the backspace key that the culprit. After some research, I have changed my gnome-terminal configuration so it generates Control-H instead of an ASCII DEL for the Backspace key which seems to fix this problem.