stty -a settings on my machine there are such as
erase = ^?; kill = ^U;. The man page reports that
erase CHAR CHAR will erase the last character typed kill CHAR CHAR will erase the current line
But I found out the corresponding keyboard shortcuts effectively do the same thing, i.e. when I type
boo at the terminal and then press
<ctrl>+? the line would be erased completely in both cases.
So why the erase character does not erase only the last character?