From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24419 invoked from network); 21 Sep 2005 03:08:41 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 21 Sep 2005 03:08:41 -0000 Received: (qmail 28856 invoked from network); 21 Sep 2005 03:08:31 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 21 Sep 2005 03:08:31 -0000 Received: (qmail 7407 invoked by alias); 21 Sep 2005 03:08:22 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9435 Received: (qmail 7398 invoked from network); 21 Sep 2005 03:08:21 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 21 Sep 2005 03:08:21 -0000 Received: (qmail 27746 invoked from network); 21 Sep 2005 03:08:21 -0000 Received: from vms044pub.verizon.net (206.46.252.44) by a.mx.sunsite.dk with SMTP; 21 Sep 2005 03:08:20 -0000 Received: from candle.brasslantern.com ([71.116.81.225]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IN5008NVCPUML82@vms044.mailsrvcs.net> for zsh-users@sunsite.dk; Tue, 20 Sep 2005 22:08:19 -0500 (CDT) Received: from candle.brasslantern.com (IDENT:schaefer@localhost [127.0.0.1]) by candle.brasslantern.com (8.12.11/8.12.11) with ESMTP id j8L38HjJ010012 for ; Tue, 20 Sep 2005 20:08:17 -0700 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j8L38HJg010011 for zsh-users@sunsite.dk; Tue, 20 Sep 2005 20:08:17 -0700 Date: Wed, 21 Sep 2005 03:08:17 +0000 From: Bart Schaefer Subject: Re: Zsh for client programming In-reply-to: <20050921021915.GA9387@fast.vc.shawcable.net> To: zsh-users@sunsite.dk Message-id: <1050921030817.ZM10010@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii References: <20050921021915.GA9387@fast.vc.shawcable.net> Comments: In reply to Tyler Spivey "Zsh for client programming" (Sep 20, 7:19pm) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 On Sep 20, 7:19pm, Tyler Spivey wrote: } } 1. read output from the server and print it, while reading input from me } and sending it out. That's the most important. See the zftp functions and the zsh/net/tcp module. } 2. be able to use readline while reading input. Has a zsh module been } developped for readline? No, a module for readline has not been developed, because ZLE has been lots better. (Recent versions of readline may be catching up.) You can use the "vared" command to access ZLE from a script, or you could just run the mud client as function calls from the normal shell prompt.