From: Peter Stephenson <pws@ibmth.df.unipi.it>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: loop killing
Date: Thu, 24 Jun 1999 11:00:53 +0200 [thread overview]
Message-ID: <9906240900.AA39221@ibmth.df.unipi.it> (raw)
In-Reply-To: "Sven Wischnowsky"'s message of "Thu, 24 Jun 1999 11:08:02 DFT." <199906240908.LAA27110@beta.informatik.hu-berlin.de>
Sven Wischnowsky wrote:
> This is the solution which executes commands in a loop in the same
> process group as the parent shell.
This seems to be the neatest solution, covering most of the common things
you want to do without any fuss. But at the moment something nasty is
happening with shell functions.
% fn() { less $*; }
% fn glob.c
^Z
<job disappears completely>
If I type a few characters before hitting ^Z, then I get the `suspended'
message, and the `continued' message when I type fg, but then the job
immediately disappears again.
Hmmm, that didn't seem to be working properly even before, except the
problem then was that when I tried to continue it I got the message
zsh: 39221 suspended (tty output) l glob.c
so it looks like the process groups were already getting messed up.
So maybe the new problem is just the old one appearing in a different
place.
--
Peter Stephenson <pws@ibmth.df.unipi.it> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
next prev parent reply other threads:[~1999-06-24 9:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-24 9:08 Sven Wischnowsky
1999-06-24 9:00 ` Peter Stephenson [this message]
1999-06-25 13:21 ` Andrej Borsenkow
1999-06-24 11:55 Sven Wischnowsky
1999-06-25 14:21 Sven Wischnowsky
1999-06-25 15:00 ` Andrej Borsenkow
1999-06-25 16:23 ` Andrej Borsenkow
1999-06-25 16:29 ` Peter Stephenson
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=9906240900.AA39221@ibmth.df.unipi.it \
--to=pws@ibmth.df.unipi.it \
--cc=zsh-workers@sunsite.auc.dk \
/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).