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


Groups > gnu.bash.bug > #15511 > unrolled thread

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

Started byGreg Wooledge <wooledg@eeg.ccf.org>
First post2019-10-14 14:29 -0400
Last post2019-10-14 14:29 -0400
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromGreg Wooledge <wooledg@eeg.ccf.org>
Date2019-10-14 14:29 -0400
SubjectRe: Bug in Bash Version 5.0.11(1)-release
Message-ID<mailman.681.1571077784.9715.bug-bash@gnu.org>
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.

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web