Backspace key broken when running as root
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?
like this

\

Hund
in reply to pixeldaemon • • •$TERMsay for both users? I assume you use Bash for both users?pixeldaemon
in reply to Hund • • •tangeli
in reply to pixeldaemon • • •stty --alloutput:erasein particular.pixeldaemon
in reply to tangeli • • •tangeli
in reply to pixeldaemon • • •What is it when you're root?
What is it when you're not root?
What does the command
stty erase ^Hdo?What does the command `stty erase ^H` do?
Server Faultpixeldaemon
in reply to tangeli • • •tangeli
in reply to pixeldaemon • • •Sure, but there are many ways to do it, depending on all sorts of details/variables, like what terminal or terminal emulator you are using, what shell, etc.
Consistent BackSpace and Delete Configuration has lots of information that might help you understand the relevant details of your system and options for setting it as you wish for root.
BackSpace and Delete Configuration for Linux (VT, xterm, bash, tcsh, netscape and more)
web.archive.org