zsh-workers
 help / color / mirror / code / Atom feed
From: <hzoli@VNET.IBM.COM> (Zoltan T. Hidvegi)
To: zefram@dcs.warwick.ac.uk (Zefram)
Cc: jf@ugcs.caltech.edu, zsh-workers@math.gatech.edu
Subject: Re: process watching?
Date: Mon, 23 Jun 1997 18:22:18 -0400 (EDT)	[thread overview]
Message-ID: <9706232222.AA20208@belgium.fishkill.ibm.com> (raw)
In-Reply-To: <20546.199706232103@stone.dcs.warwick.ac.uk> from Zefram at "Jun 23, 97 10:03:49 pm"

Zefram wrote:
> see how it runs code before each prompt.  (Of course, it could be done
> in user code, using $PERIODIC, but that's a rather messy mechanism and
> not entirely appropriate.)

Why?  What's wrong with the user code implementation?  kill -0 pid can be
used to test for the presence of the process.  It can be put either to
precmd or to periodic (periodic is the function name which is executed in
every $PERIOD seconds, just before a prompt).

Zoltan


  reply	other threads:[~1997-06-23 22:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-22 22:12 Joe Fouche
1997-06-23 21:03 ` Zefram
1997-06-23 22:22   ` Zoltan T. Hidvegi [this message]
1997-06-24 15:58     ` Zefram

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=9706232222.AA20208@belgium.fishkill.ibm.com \
    --to=hzoli@vnet.ibm.com \
    --cc=jf@ugcs.caltech.edu \
    --cc=zefram@dcs.warwick.ac.uk \
    --cc=zsh-workers@math.gatech.edu \
    /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).