Path: csiph.com!xmission!news.glorb.com!usenet.stanford.edu!not-for-mail From: "Chris F.A. Johnson" Newsgroups: gnu.bash.bug Subject: Re: why must bash zap last search string just because we hit ^C? Date: Sat, 17 Oct 2015 22:23:20 -0400 (EDT) Lines: 27 Approved: bug-bash@gnu.org Message-ID: References: <87io675lhj.fsf@jidanni.org> <87fv19orq0.fsf@jidanni.org> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323329-1993788821-1445135002=:24393" X-Trace: usenet.stanford.edu 1445135028 8465 208.118.235.17 (18 Oct 2015 02:23:48 GMT) X-Complaints-To: action@cs.stanford.edu Cc: Dennis Williamson , "bug-bash@gnu.org" To: Jacobson Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smtpcorp.com; s=a0-2; h=Feedback-ID:X-Smtpcorp-Track:Message-ID:Subject:To: From:Date; bh=EGM8GOoQ4Fzq6o5d6vNhVLw/i+HVQ6tm5p1zvGhFYBM=; b=H7XlL+iQuGP9nyK hQoyOS72K8pg7m0F4HvrLrQxiNvJUlwYvK60xkMchlZyxo9ibLpMESnq2cos1AS7j+XeRUgKd2BH2 ZcpkGI7mEw/CW/fNsPkn3hJ9ikrj4+W2asIl7GF5ZTJXauoULDvha/oxDWQ5R6ndsWY+n+AyfPqQn 9Rf5juqwu1bMuitV1dV8T1DEZiWREB+OBaw3LI7mMYjHU9zFlkZFotGhGoAuXHbRSC4DKwvEkthZM iuZ3u9nbS9czQRq5yaY6D0YycmXYrYBQEJL4UquTkbVEQxLupkpFPOCtunwv2aeE+BCBWZKBlmxPn U68p2+GHOM21KJ+VOaA==; X-X-Sender: chris@chris.tor In-Reply-To: <87fv19orq0.fsf@jidanni.org> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) X-Smtpcorp-Track: 1Zndd4NRKJmteW.mxKZL8N0T Feedback-ID: 124612m:124612a-vpTX9:124612stI5YznwTn:SMTPCORP X-Report-Abuse: Please forward a copy of this message, including all headers, to X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 43.228.187.104 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com gnu.bash.bug:11688 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-1993788821-1445135002=:24393 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Sun, 18 Oct 2015, 積丹尼 Dan Jacobson wrote: > DW> On Fri, Oct 16, 2015 at 1:50 PM, Chet Ramey 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. Or just press UP (as many times as necessary) and RET. -- Chris F.A. Johnson, --8323329-1993788821-1445135002=:24393--