[Top][All Lists]

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

Re: [Bug-readline] Disable the "modify history with arrow keys" feature

From: Chet Ramey
Subject: Re: [Bug-readline] Disable the "modify history with arrow keys" feature
Date: Wed, 30 Jan 2019 10:22:04 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

On 1/29/19 3:20 AM, address@hidden wrote:

> However, if Bash already has a facility for reverting all history undo
> lists, then it would seem to be easy to simply trigger this by default
> before showing a new prompt, thereby restoring all history lines to
> their original states. 

Since it's the SIGINT that defeats the reverting behavior, we'd have to
see whether that would satisfy John's requirements. It would not work
for an application that, for instance, saved the history before exiting
on SIGINT unless it were incorporated into readline's signal processing.

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

reply via email to

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