> I imagine that depends on your terminal and your stty settings. On MacOS with
> Bash 5 in Terminal.app what you describe doesn't happen for me. What terminal
> are you using? What is the output of stty -a with respect to erase? What do
> you get in that setup when you press Ctrl-V then Backspace?

Thanks for trying to reproduce it.

I see this with an X.org xterm under Linux and a Linux virtual console, both
through SSH (Openssh), and Putty in Windows, via Putty's SSH.

To simplify things, I set my erase key to "q" (stty erase q).  ctl-V q
confirms terminal sends q when I type it.  Behavior is the same - q functions
as backspace, gets echoed as space.  In Bash 4, it gets echoed as backspace.

I used 'script' to verify that the terminal is receiving an ASCII space
(0x20) character.

-- 
Bryan Henderson                                   San Jose, California

Reply via email to