I'm building a tiny terminal emulator from scratch, to better understand how they work!
And I found something cool: My backspace key wasn't working. I was sending ASCII 0x8 to `sh`, but it just replied with "^H".
Turns out you can change that! `stty -a` showed me that the erase character was set to "^?" (whatever that is). So I changed it with `stty erase ^H", and now it works!
`sh` even outputs the sequence <backspace><space><backspace>, like a typewriter "overtyping" a letter with a space!