Backspace key broken when running as root
2026-06-30 04:24 UTC
I’ve installed Void Linux base image and my backspace key is broken when I am root, it types ‘^H’ instead of erasing. Function keys also type something weird, but at least the brighness-related ones do work.
This only applies to the root shell, it all works perfectly when I login as a normal user. Probably a bashrc issue?
Replies (5)
-
@Hund@feddit.nu 2026-06-30 04:38
What does $TERM say for both users? I assume you use Bash for both users?
-
@FauxLiving@lemmy.world 2026-06-30 04:49
Yeah, probably a .bashrc difference between users. It could also be ~/.inputrc (or /etc/inputrc if not in the user’s home directory. man.archlinux.org/man/readline.3
-
@tangeli@piefed.social 2026-06-30 06:25
You might also have a look at stty --all output: erase in particular.
-
@mfdoom@lemmy.world 2026-06-30 07:13
Probably a locale issue
-
@UnH1ng3d@lemmy.world 2026-06-30 13:53
[Solved], but what was your solution 👀