From: Ray Andrews <rayandrews@eastlink.ca>
To: zsh-users@zsh.org
Subject: Re: combining .histfiles
Date: Tue, 14 Oct 2014 15:25:36 -0700 [thread overview]
Message-ID: <543DA2E0.8020000@eastlink.ca> (raw)
In-Reply-To: <CAH+w=7baN4Eg51-BZBbCxLBEYZuUo-aprGNnpsRhT2ffTkhHmw@mail.gmail.com>
On 10/14/2014 03:04 PM, Bart Schaefer wrote:
Bart,
> and it merrily started executing everything in my history.
> Yes, history files have historically (ahem) been kept in a format that is
> readable as shell command input. I suspect this may date from early csh
> implementations that reloaded the history by disabling command execution
> and then running the file through the parser.
I suppose there could be some good reason for it, but sheesh ...
> Hmm, I don't know any reason why a regular interrupt (Ctrl+c) would
> not stop "." execution, regardless of whether the script is a history
> file or any other script, as long as the commands being executed are
> themselves interruptible.
I could stop the command on each line individually, but not the
.histfile *itself*. Is there some way to
to break out of it?
> You mentioned a "slow copy" ... I've found that if an external command
> is in disk wait state it may not respond to interrupts. Sometimes a
> Ctrl+z will suspend such a job even when Ctrl+c won't kill it.
I should have said 'large copy'. A system backup actually, so it gave
me time to dive for the power. I
hate to think of the mess that might have been made, however. If there
was ever a file that should
be somehow protected from running, that's it.
next prev parent reply other threads:[~2014-10-14 22:23 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-11 18:53 zsh 5.0.7 Ray Andrews
2014-10-11 20:10 ` Bart Schaefer
2014-10-11 21:46 ` Ray Andrews
2014-10-11 21:56 ` Axel Beckert
2014-10-11 22:43 ` Ray Andrews
2014-10-11 22:01 ` Bart Schaefer
2014-10-12 0:29 ` Ray Andrews
2014-10-13 19:02 ` Greg Klanderman
2014-10-13 22:04 ` Ray Andrews
2014-10-13 22:58 ` Greg Klanderman
2014-10-14 1:17 ` Ray Andrews
2014-10-14 20:12 ` Greg Klanderman
2014-10-14 20:33 ` Ray Andrews
2014-10-14 17:20 ` combining .histfiles Ray Andrews
2014-10-14 22:04 ` Bart Schaefer
2014-10-14 22:25 ` Ray Andrews [this message]
2014-10-14 23:55 ` Bart Schaefer
2014-10-15 1:02 ` Ray Andrews
2014-10-15 1:09 ` Kurtis Rader
2014-10-15 1:25 ` Ray Andrews
2014-10-23 2:58 ` c++ comments Ray Andrews
2014-10-23 4:41 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=543DA2E0.8020000@eastlink.ca \
--to=rayandrews@eastlink.ca \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).