bug-bash
[Top][All Lists]
Advanced

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

Re: bind -x and multiple prompt/command lines


From: Chet Ramey
Subject: Re: bind -x and multiple prompt/command lines
Date: Sun, 16 Nov 2014 20:40:01 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

On 4/14/14 2:02 AM, Rob Foehl wrote:
> When executing shell commands bound to key sequences with bind -x, the
> initial line(s) of multiple line shell prompts and/or commands are left
> intact; when the prompt is redisplayed, the initial line(s) are output
> again, causing the appearance of duplicate lines.  This seems to be due to
> the code to clear the current (last) line in bash_execute_unix_command in
> bashline.c, which also seems to be the only place where the line is cleared
> in this fashion.

There will be a fix for this in the next release of bash.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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