From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24341 invoked by alias); 26 Nov 2014 13:37:59 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19445 Received: (qmail 1863 invoked from network); 26 Nov 2014 13:37:57 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=wAha5p+tgdhDYOxPE9KFQ3ZVK5ZZVYwGTJZrJ+MMTjM=; b=j3Xq6r7BaXYt4vcmFbtR63ylJtbXpwaK8hevSxeGs7S0t8P8yA5gL5fTT9nLL4HH9X 7/d4ijKvK7ZYsCDl5DsnVVx5Edh4Koo8OqhVQEjnhTkt6kxqYHUXxqHIPJcf+D84alpf Hp/hikX0NcedNLxqSc1qWKXlDemMwku9xGUPW4k1WWgVhkpZJNvX3QVEPYq4JyPiS/gy L3XycXcNv2GqseHm+5QFZ9C46gY0gNSZwV9dwxdbCZIkbZZzFEq40lLc1TZFbo5gWjHt RfuNQajtWWZ5ub0r1Gz0JJx0VR8IHlHWtQIXDyCcaJq5TOGGFXITs1oO6A07heS33zGh /arw== MIME-Version: 1.0 X-Received: by 10.50.73.67 with SMTP id j3mr16820745igv.1.1417009072098; Wed, 26 Nov 2014 05:37:52 -0800 (PST) In-Reply-To: <20141126071825.GA3962@chaz.gmail.com> References: <54752574.5090205@eastlink.ca> <141125203249.ZM18877@torch.brasslantern.com> <20141126071825.GA3962@chaz.gmail.com> Date: Wed, 26 Nov 2014 08:37:52 -0500 Message-ID: Subject: Re: export From: Clint Hepner To: Kurtis Rader , Bart Schaefer , Zsh Users Content-Type: multipart/alternative; boundary=089e0115ec1062eed40508c32273 --089e0115ec1062eed40508c32273 Content-Type: text/plain; charset=UTF-8 On Wed, Nov 26, 2014 at 2:18 AM, Stephane Chazelas < stephane.chazelas@gmail.com> wrote: > 2014-11-25 20:54:39 -0800, Kurtis Rader: > > If by "fake it" you mean cooperative processes that implement a protocol > > for exchanging environment variables then, yes, you can achieve the > result > > desired by Ray. However I think that everyone trying to achieve this > result > > wants to do so without having to implement a new data exchange protocol > in > > every program. > [...] > > FYI, the "fish" shell does that. > > set -U universal its value > > and that $universal variable (here an array) becomes available > in all the fish shells (interactive or not) by the same user on > the machine (with all the security implications it entails). > > Note that fish implements this in a manner similar to one mentioned earlier in this thread: it uses a separate process that acts as a variable server. When fish tries to look up a variable, and fails to find it in either the local or global scope, it contacts the server to see if the variable exists at the "universal" scope. --089e0115ec1062eed40508c32273--