bug-bash
[Top][All Lists]
Advanced

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

Re: why must bash zap last search string just because we hit ^C?


From: 積丹尼 Dan Jacobson
Subject: Re: why must bash zap last search string just because we hit ^C?
Date: Sun, 18 Oct 2015 10:06:31 +0800

DW> On Fri, Oct 16, 2015 at 1:50 PM, Chet Ramey <chet.ramey@case.edu> wrote:

DW>     ^C rudely aborts the entire operation.  Why assume you want to save any
DW>     of the context?

Because I got a phone call: the boss asked me to execute a shell
command. I used ^C to get myself back to a prompt so I could type in the
command. Now I want to resume searching and must type my
^Rlong_search_string all over again.
OK I suppose I can train myself to do ^A # RET or ESC ESC # instead.



reply via email to

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