zsh-users
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-users@sunsite.dk
Subject: Re: Inter-Shell communication ?
Date: Thu, 8 Mar 2001 11:27:52 +0100 (MET)	[thread overview]
Message-ID: <200103081027.LAA09315@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: jarausch@igpm.rwth-aachen.de's message of Thu, 8 Mar 2001 10:12:30 +0100


jarausch@igpm.rwth-aachen.de wrote:

> Hi,
> 
> is there an elegant technique for one zshell waiting
> for a different zshell (i.e. running in a different xterm)
> to complete?
> (better than e.g. periodically checking for a file that
> the second zshell touches at completion)
> 
> Thanks for your hint,

I can only think of named pipes (`mknod foo p') with `read var <foo' and
`print go >foo'.

If the pid of the waiting shell is known, one can also use one of the
USR-signals. Or start a endlessly running process in the wait-shell,
wait for it and kill it from the other shell.


We really need that generic socket module ;-)

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


             reply	other threads:[~2001-03-08 10:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-08 10:27 Sven Wischnowsky [this message]
2001-03-25 19:03 ` Bart Schaefer
  -- strict thread matches above, loose matches on Subject: below --
2001-03-08  9:12 jarausch

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=200103081027.LAA09315@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --cc=zsh-users@sunsite.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).