Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11698

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

Path csiph.com!xmission!news.glorb.com!usenet.stanford.edu!not-for-mail
From Bob Proulx <bob@proulx.com>
Newsgroups gnu.bash.bug
Subject Re: why must bash zap last search string just because we hit ^C?
Date Sun, 18 Oct 2015 15:23:15 -0600
Lines 23
Approved bug-bash@gnu.org
Message-ID <mailman.582.1445203403.7904.bug-bash@gnu.org> (permalink)
References <87io675lhj.fsf@jidanni.org> <87io64omdn.fsf@jidanni.org> <20151018162437.GA16697@ma.sdf.org>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=iso-8859-1
Content-Transfer-Encoding quoted-printable
X-Trace usenet.stanford.edu 1445203404 16266 208.118.235.17 (18 Oct 2015 21:23:24 GMT)
X-Complaints-To action@cs.stanford.edu
To 積丹尼 Dan Jacobson <jidanni@jidanni.org>, bug-bash@gnu.org
Envelope-to bug-bash@gnu.org
Mail-Followup-To 積丹尼 Dan Jacobson <jidanni@jidanni.org>, bug-bash@gnu.org
Content-Disposition inline
In-Reply-To <20151018162437.GA16697@ma.sdf.org>
User-Agent Mutt/1.5.24 (2015-08-30)
X-detected-operating-system by eggs.gnu.org: GNU/Linux 3.x
X-Received-From 216.17.153.58
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.14
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:11698

Show key headers only | View raw


Eduardo A. Bustamante López wrote:
> $ 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 
> :-)

Additionally let's say that along the way I killed some other text so
that C-y yanks back that more recently killed text instead of the one
I saved first.  In that case ESC C-y will rotate the kill ring to the
previous killed text.  Repeating ESC C-y again rotates to the one
before it.  So can walk back through until finding the text I want to
yank back.  :-)

Bob

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: why must bash zap last search string just because we hit ^C? Bob Proulx <bob@proulx.com> - 2015-10-18 15:23 -0600

csiph-web