bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash prompt misbehaving - correction.


From: Chet Ramey
Subject: Re: bash prompt misbehaving - correction.
Date: Tue, 30 Jun 2009 13:34:21 -0400
User-agent: Thunderbird 2.0.0.22 (Macintosh/20090605)

Chris Jones wrote:
> 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 would assume that one of the patches addresses this problem.

> Or should I run a test with a more current version of bash and if I
> can't recreate, forget about it?

You should always test against the most current version.  In your
case, you can test against more recent versions of bash-3.2 or bash-4.0.
If the work to fix the problem has already been done and released,
why not take advantage of it?

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]