[Top][All Lists]

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

Re: multiline ^C regression

From: Chet Ramey
Subject: Re: multiline ^C regression
Date: Thu, 27 Mar 2014 14:26:32 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

On 3/27/14 3:40 AM, Egmont Koblinger wrote:
> Hi,
> Type a multiline command, and press ^C.
> bash-4.2:  The new prompt appeared below the complete multiline command.
> bash-4.3:  The new prompt appears right under the previous prompt,
> overwriting parts of the aborted command line and leaving garbage after the
> new prompt.

Thanks for the report.  This is a consequence of bash and readline's
reworked signal handling, which moves processing out of signal handlers.

I've attached a patch that will fix this problem.


``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/

Attachment: readline-sigint-cleanup.patch
Description: Source code patch

reply via email to

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