RESOLVED: Rebooted. I was hoping to find out what happened without doing that, but at least it's fixed.
I believe I brushed my keyboard accidentally and now key presses beyond alphanumeric keys are showing in the command line - backspace shows as \[character], Ctrl+[key] shows as ^[key], pressing Delete gives
For example, typing "asdf" then backspacing all the characters leaves this on my line:
There's also some strange behavior involving the cursor returning to the beginning of the line and overwriting characters - I've togged my Insert key back and forth with no discernable result.
I recognize some of this from The Unix Programming Environment where they talk about paper terminals and control keys, so I understand some of the output and what's going on, but I'd like to return it to normal. I would love to know what exactly would turn it off rather than just doing "reset" - is there some obvious keypress / combination I might have hit?
I've tried to search for this on Google and SE, but the weird escape characters, etc. are making it hard for me to describe the problem and find hits.
Edit: I've tried
stty sane; this doesn't seem to do anything;
reset doesn't fix it either.
Here's the output of my
speed 38400 baud; rows 127; columns 144; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0; -parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts -ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany imaxbel -iutf8 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc