bug-bash
[Top][All Lists]
Advanced

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

Re: bash 4.3.11 on FreeBSD stable/{8, 9, 10}, and head, bug with backwar


From: Trond Endrestøl
Subject: Re: bash 4.3.11 on FreeBSD stable/{8, 9, 10}, and head, bug with backwards incremental search whenever horizontal-scroll-mode is on
Date: Mon, 21 Apr 2014 11:25:25 +0200 (CEST)
User-agent: Alpine 2.03 (BSF 1266 2009-07-14)

On Sun, 20 Apr 2014 22:29-0400, Chet Ramey wrote:

> On 4/19/14, 3:44 PM, Trond Endrestøl wrote:
> > Hi,
> > 
> > I'm running GNU bash 4.3.11 on several branches of FreeBSD, more 
> > specifically stable/{8,9,10}, and head (11.0-CURRENT), both 32-bit 
> > (i386) and 64-bit (amd64).
> > 
> > Whenever horizontal-scroll-mode is set to on in .inputrc, backwards 
> > incremental search fails to repaint the command line when doing 
> > successive tappings on C-r. bash will misbehave even further when I 
> > hit the enter key. More explanation follows.
> 
> Coincidentally, I've been looking at this problem for the last couple of
> days, based on another report.  I've attached what I have so far, which
> seems to fix the problem according to the testing I've done so far.  Let
> me know how it works for you.

This patch looks very promising. I've so far only tested the patch on 
a physical computer while logged in by mosh.

Hitting C-r, then typing "cvs" to lookup a command like 
"cvs diff -u 2>&1", and hitting the enter key would previously display 
"", but with the new patch in effect the whole command is displayed 
when hitting the enter key.

I've compared this patch to 4.3.11 as installed on said computer, and 
the patch does work for me.

I'd like to test the patch on a few of my FreeBSD VMs at home later 
today. I'll keep you posted.

Great work!

-- 
----------------------------------------------------------------------
Trond Endrestøl                     |     Trond.Endrestol@ximalas.info
ACM, NAS, NUUG, SAGE, USENIX        |   FreeBSD 9.2-S & re-Alpine 2.03

reply via email to

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