[Top][All Lists]

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

Re: BASH-3.0 Command Recall Problem

From: Chet Ramey
Subject: Re: BASH-3.0 Command Recall Problem
Date: Thu, 27 Jan 2005 17:18:06 -0500
User-agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)

address@hidden wrote:
I've installed the latest BASH from sources (bash-3.0.tar.gz).
On this bash (3.00.0) the UP/DOWN-arrow command recall feature is messed-up.
Typical bad behavior:
Assume I am at the "blank" prompt after having executed in sequence cmd[n-2],
then cmd[n-1] and finally cmd[n].
I now press the UP-arrow three times (and see cmd[n-2], as I would expect).
So far so good.
From there I start pressing the DOWN-arrow.
On first press I get cmd[n-1] (OK), on second, cmd[n] (OK).
On third press expecting to get back to the "blank" prompt,
I get cmd[n-1] instead.
And it goes like that from there, worse and worse, as if the
DOWN-arrow cannot properly scan the history buffer
(still in memory until the logout, I suppose).

Install patch 5 to bash-3.0.


``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Chet Ramey, ITS, CWRU address@hidden http://tiswww.tis.cwru.edu/~chet/

reply via email to

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