[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash prompt misbehaving - correction.
From: |
Chris Jones |
Subject: |
Re: bash prompt misbehaving - correction. |
Date: |
Tue, 30 Jun 2009 13:06:57 -0400 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Tue, Jun 30, 2009 at 08:30:35AM EDT, Chet Ramey wrote:
> Chris Jones wrote:
> > Not sure whether this is a bug in my version of bash, but I copied over
> > my colored PS1 prompts from debian etch - regular user & root - and some
> > convenient keyboard actions are misbehaving. After retrieving a command
> > from the history via a CTRL-R, an ensuing CTRL-A moves the cursor to
> > somewhere in the middle of the prompt and CTRL-E is short of the
> > retrieved command's end by some ten characters.
[..]
> > $ bash --version
> > GNU bash, version 3.2.39(1)-release (i486-pc-linux-gnu)
> > Copyright (C) 2007 Free Software Foundation, Inc.
>
> I can't reproduce this behavior with bash-3.2.49.
Is there anything that happened between 3.2.39 & 3.2.49 that might
account for this, or would you suspect a problem with my setup?
I just ran the same test again on a plain xterm with TERM=xterm and no
additional layers such as gnu/screen and I'm still getting the same
result.
If this is of interest, what kind of information about my context should
I provide.
Or should I run a test with a more current version of bash and if I
can't recreate, forget about it?
Thanks,
CJ