Path: csiph.com!3.us.feeder.erje.net!feeder.erje.net!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail From: Greg Wooledge Newsgroups: gnu.bash.bug Subject: Re: Bug in Bash Version 5.0.11(1)-release Date: Mon, 14 Oct 2019 14:29:39 -0400 Lines: 67 Approved: bug-bash@gnu.org Message-ID: References: <20191014125312.GN28751@eeg.ccf.org> <20191014182939.GO28751@eeg.ccf.org> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: usenet.stanford.edu 1571077785 24208 209.51.188.17 (14 Oct 2019 18:29:45 GMT) X-Complaints-To: action@cs.stanford.edu To: bug-bash@gnu.org Envelope-to: bug-bash@gnu.org Mail-Followup-To: bug-bash@gnu.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 139.137.100.1 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <20191014182939.GO28751@eeg.ccf.org> X-Mailman-Original-References: <20191014125312.GN28751@eeg.ccf.org> Xref: csiph.com gnu.bash.bug:15511 On Mon, Oct 14, 2019 at 06:21:23PM +0000, Daniel Hannon wrote: > I am running Arch Linux > > Locale is as follows > > locale: Cannot set LC_CTYPE to default locale: No such file or directory > locale: Cannot set LC_MESSAGES to default locale: No such file or directory > locale: Cannot set LC_ALL to default locale: No such file or directory > LANG=en_IE.UTF-8 > LC_CTYPE="en_IE.UTF-8" > LC_NUMERIC="en_IE.UTF-8" > LC_TIME="en_IE.UTF-8" > LC_COLLATE=C > LC_MONETARY="en_IE.UTF-8" > LC_MESSAGES="en_IE.UTF-8" > LC_PAPER="en_IE.UTF-8" > LC_NAME="en_IE.UTF-8" > LC_ADDRESS="en_IE.UTF-8" > LC_TELEPHONE="en_IE.UTF-8" > LC_MEASUREMENT="en_IE.UTF-8" > LC_IDENTIFICATION="en_IE.UTF-8" > LC_ALL= > > enclosed is a video in which it is replicated > ________________________________ > From: Greg Wooledge > Sent: Monday 14 October 2019 13:53 > To: Daniel Hannon > Cc: bug-bash@gnu.org > Subject: Re: Bug in Bash Version 5.0.11(1)-release > > On Mon, Oct 14, 2019 at 10:39:41AM +0000, Daniel Hannon wrote: > > the use of the "…" character results in the ability to delete the bash prompt string using backspace > > I can't reproduce this. > > wooledg:~$ bash > wooledg:~$ PS1='…\h:\w\$ ' > …wooledg:~$ echo "$BASH_VERSION" > 5.0.3(1)-release > …wooledg:~$ > > Hitting the backspace key repeatedly does nothing (as expected). > > What operating system are you on, and what is the output of "locale"? He sent this to me off-list. I'm not forwarding the video. I'm not even going to open it. Looks like you've managed to create a messed-up locale situation, in which you've mixed some UTF-8 encoding variables with one plain "C", and some or all of your variables are not recognized by your operating system. If you unset LC_COLLATE, does the problem go away? Not sure if it's sufficient to unset it in a shell and then try the prompt within that same shell, or if you need to unset it, then run "bash" to get a new shell without it... I'd try both ways. I would definitely look to get rid of those three error lines, because that can't be good. Not sure whether they're immediately related to your prompt-backspace issue, but they're not something I would be comfortable living with permanently. You might need to ask an Arch Linux group for assistance, if you can't figure it out on your own.