Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16406

Re: Backspace echoed incorrectly with TERM=garbage

From Bryan Henderson <bryanh@giraffe-data.com>
Newsgroups gnu.bash.bug
Subject Re: Backspace echoed incorrectly with TERM=garbage
Date 2020-06-18 20:53 +0000
Message-ID <mailman.81.1592515819.2574.bug-bash@gnu.org> (permalink)
References <E1jlfdk-0006B3-GQ@lists.gnu.org> <CANaoh6KQf2kmZ7VC_0kV==-6ftDmQaUZs2HQF2kRzgnG5w2P-Q@mail.gmail.com> <75996.bryanh@giraffe-data.com>

Show all headers | View raw


> 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

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: Backspace echoed incorrectly with TERM=garbage Bryan Henderson <bryanh@giraffe-data.com> - 2020-06-18 20:53 +0000

csiph-web