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


Groups > gnu.bash.bug > #15511

Re: Bug in Bash Version 5.0.11(1)-release

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups gnu.bash.bug
Subject Re: Bug in Bash Version 5.0.11(1)-release
Date 2019-10-14 14:29 -0400
Message-ID <mailman.681.1571077784.9715.bug-bash@gnu.org> (permalink)
References <DB6P195MB02006C0C81FD1178C88F7CE0C2900@DB6P195MB0200.EURP195.PROD.OUTLOOK.COM> <20191014125312.GN28751@eeg.ccf.org> <DB6P195MB0200D415B2EB70304DF27058C2900@DB6P195MB0200.EURP195.PROD.OUTLOOK.COM> <20191014182939.GO28751@eeg.ccf.org>

Show all headers | View raw


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 <wooledg@eeg.ccf.org>
> Sent: Monday 14 October 2019 13:53
> To: Daniel Hannon <danhan@live.ie>
> Cc: bug-bash@gnu.org <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.

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


Thread

Re: Bug in Bash Version 5.0.11(1)-release Greg Wooledge <wooledg@eeg.ccf.org> - 2019-10-14 14:29 -0400

csiph-web