From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26734 invoked by alias); 26 Nov 2014 05:16:12 -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: 19436 Received: (qmail 10121 invoked from network); 26 Nov 2014 05:16:10 -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.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Authority-Analysis: v=2.1 cv=HYUtEE08 c=1 sm=1 tr=0 a=p9xhtsQbFeWP+Dk8WftIHA==:117 a=p9xhtsQbFeWP+Dk8WftIHA==:17 a=G8GL833Es-AA:10 a=IkcTkHD0fZMA:10 a=YazJGXjkFv6u8wHLZN8A:9 a=QEXdDO2ut3YA:10 Message-id: <54756216.2070004@eastlink.ca> Date: Tue, 25 Nov 2014 21:16:06 -0800 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.2.0 MIME-version: 1.0 To: zsh-users@zsh.org Subject: Re: export References: <54752574.5090205@eastlink.ca> <141125203249.ZM18877@torch.brasslantern.com> In-reply-to: Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 7bit On 11/25/2014 08:54 PM, Kurtis Rader wrote: > 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. If they were willing to implement a private data exchange > protocol they wouldn't be asking this question. :-) As it is, I pass some variables between running shells all the time in 'preexec()'. Specifically every shell in every xterm knows the current directory of every other so I can do: " cp foo $t4 " with ' $t4 ' being the current dir in xterm #4. But that's not the problem, I just want 'export' to work between xterms if possible. It's hardly important tho.