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


Groups > gnu.bash.bug > #16406

Re: Backspace echoed incorrectly with TERM=garbage

Path csiph.com!goblin3!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Bryan Henderson <bryanh@giraffe-data.com>
Newsgroups gnu.bash.bug
Subject Re: Backspace echoed incorrectly with TERM=garbage
Date 18 Jun 2020 20:53:57 +0000
Lines 20
Approved bug-bash@gnu.org
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>
NNTP-Posting-Host lists.gnu.org
X-Trace usenet.stanford.edu 1592515820 24346 209.51.188.17 (18 Jun 2020 21:30:20 GMT)
X-Complaints-To action@cs.stanford.edu
Cc bug-bash@gnu.org
To Dennis Williamson <dennistwilliamson@gmail.com>
Envelope-to bug-bash@gnu.org
In-reply-to <CANaoh6KQf2kmZ7VC_0kV==-6ftDmQaUZs2HQF2kRzgnG5w2P-Q@mail.gmail.com> (dennistwilliamson@gmail.com)
Received-SPF pass client-ip=174.143.232.82; envelope-from=bryanh@giraffe-data.com; helo=oldrhino.giraffe-data.com
X-detected-operating-system by eggs.gnu.org: First seen = 2020/06/18 17:30:13
X-ACL-Warn Detected OS = Linux 3.x [generic] [fuzzy]
X-Spam_score_int -18
X-Spam_score -1.9
X-Spam_bar -
X-Spam_report (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN
X-Spam_action no action
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.23
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <https://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
X-Mailman-Original-Message-ID <75996.bryanh@giraffe-data.com>
X-Mailman-Original-References <E1jlfdk-0006B3-GQ@lists.gnu.org> <CANaoh6KQf2kmZ7VC_0kV==-6ftDmQaUZs2HQF2kRzgnG5w2P-Q@mail.gmail.com>
Xref csiph.com gnu.bash.bug:16406

Show key headers only | 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