Path: csiph.com!au2pb.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!news.glorb.com!usenet.stanford.edu!not-for-mail From: Eduardo =?utf-8?Q?A=2E_Bustamante_L=C3=B3pez?= Newsgroups: gnu.bash.bug Subject: Re: why must bash zap last search string just because we hit ^C? Date: Sun, 18 Oct 2015 11:24:37 -0500 Lines: 42 Approved: bug-bash@gnu.org Message-ID: References: <87io675lhj.fsf@jidanni.org> <87io64omdn.fsf@jidanni.org> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: usenet.stanford.edu 1445185489 7148 208.118.235.17 (18 Oct 2015 16:24:49 GMT) X-Complaints-To: action@cs.stanford.edu Cc: Dennis Williamson , Bash - Bug To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=9VLUsFn7jXMX7HmC8wDxytEucafhHJuyQa0mprAlT5I=; b=e15TCesbneqgpta+dyrmKzzneWqkg9BB2hBrMcVnfaBZEeqW5O7kS5gS9q8ASOcWZl Viq/jcoUEA9N94HpK9SY+atNDdE63gEeTv6iOnvgJk7W4c8QVWlAwEPTHXdJ85vfKkf4 m7oadwKtQpJ9DUmsxtA9LqU9N01n5A2XXaZrIAyohxlWAMiLmc05+lYVH5pqbEAn6Oee Nxo0nafrcs0iuXAU1o89KFdGwQYQqk1hlRktpcdn32bqEL4EkX2qhsoMzv9ZcsEcwHXf 6/Arlq9n0w7EQ5EI0l01Zcp+kB6s0FLC1JREi2GmlTb8nH+fWtovyz6alYXdsnU+Tltb QqQg== X-Received: by 10.66.246.162 with SMTP id xx2mr28748079pac.144.1445185481750; Sun, 18 Oct 2015 09:24:41 -0700 (PDT) Mail-Followup-To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson , Dave Rutherford , Dennis Williamson , Bash - Bug Content-Disposition: inline In-Reply-To: <87io64omdn.fsf@jidanni.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::231 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:11697 On Sun, Oct 18, 2015 at 12:01:56PM +0800, 積丹尼 Dan Jacobson wrote: > >>>>> "DR" == Dave Rutherford writes: > > DR> Can you run gnu screen? ^A-c will get you a new shell session in the > DR> existing terminal emulator (it will use a new terminal device, though, > DR> if that's what you care about.) > > Let's pretend that I am on a gunk device on a gunk OS and all I have to > work with is this one shell and I just want to back out of my search > peacefully and resume it later with minimal ado. OK I will do ESC ESC #. > If I have: $ some long command I've typed And then boss calls: URGENT! Run uptime and tell me the output, I'll: $ some long command I've typed Press Ctrl-u $ _ Write uptime RET $ uptime 11:23:45 up 4 days, 22:39, 4 users, load average: 0.51, 0.86, 0.75 $ _ Press Ctrl-y $ some long command I've typed :-) -- Eduardo Bustamante https://dualbus.me/