[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: frederik
Subject: Re: [Bug-readline] Disable the "modify history with arrow keys" feature
Date: Wed, 30 Jan 2019 07:47:46 -0800
User-agent: NeoMutt/20180716

On Wed, Jan 30, 2019 at 10:22:04AM -0500, Chet Ramey wrote:
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.

Got it.

reply via email to

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