From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10736 invoked from network); 23 Dec 2004 04:00:15 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 23 Dec 2004 04:00:15 -0000 Received: (qmail 83854 invoked from network); 23 Dec 2004 04:00:09 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 23 Dec 2004 04:00:09 -0000 Received: (qmail 5038 invoked by alias); 23 Dec 2004 03:59:54 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8310 Received: (qmail 5023 invoked from network); 23 Dec 2004 03:59:52 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 23 Dec 2004 03:59:52 -0000 Received: (qmail 82642 invoked from network); 23 Dec 2004 03:59:52 -0000 Received: from mail1.panix.com (166.84.1.72) by a.mx.sunsite.dk with SMTP; 23 Dec 2004 03:59:51 -0000 Received: from panix3.panix.com (panix3.panix.com [166.84.1.3]) by mail1.panix.com (Postfix) with ESMTP id E9A4E58AAD for ; Wed, 22 Dec 2004 22:59:49 -0500 (EST) Received: (from kynn@localhost) by panix3.panix.com (8.11.6p3/8.8.8/PanixN1.1) id iBN3xoB06479; Wed, 22 Dec 2004 22:59:50 -0500 (EST) Date: Wed, 22 Dec 2004 22:59:50 -0500 (EST) Message-Id: <200412230359.iBN3xoB06479@panix3.panix.com> From: To: zsh-users@sunsite.dk Subject: IPC (or how to "bounce" a running zsh?) X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.2 required=6.0 tests=NO_REAL_NAME autolearn=no version=2.63 X-Spam-Hits: 0.2 Is there any mechanism for interprocess communication in which at least one of the processes is a running zsh? TIA! kj P.S. The context of this question is the problem of "bouncing" a running zsh, i.e. telling it somehow to re-source the appropriate .z* files (according to whether or not it is an interactive/login shell). (I realize that I could solve this problem by adding one more task to my poor overworked preexec or precmd, and coax it to do a "poor man's IPC", namely to check for the presence of a sentinel file, perform the appropriate re-sourcing, and delete the sentinel; this opens the possibility of a race condition, but I'm sure there is a way to deal with it.)