From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4697 invoked from network); 26 Jun 2000 15:35:01 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 26 Jun 2000 15:35:01 -0000 Received: (qmail 19663 invoked by alias); 26 Jun 2000 15:34:11 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12075 Received: (qmail 19643 invoked from network); 26 Jun 2000 15:34:01 -0000 From: "Bart Schaefer" Message-Id: <1000626153356.ZM25846@candle.brasslantern.com> Date: Mon, 26 Jun 2000 15:33:56 +0000 In-Reply-To: <0FWR004DUO2PW8@la-la.cambridgesiliconradio.com> Comments: In reply to Peter Stephenson "PATCH: `read -t' tests for available input before reading." (Jun 26, 3:54pm) References: <0FWR004DUO2PW8@la-la.cambridgesiliconradio.com> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk (Zsh hackers list) Subject: Re: PATCH: `read -t' tests for available input before reading. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 26, 3:54pm, Peter Stephenson wrote: } Subject: PATCH: `read -t' tests for available input before reading. } } I implemented this because I need it for a set of commands [...] May I suggest that the read_poll() helper function belongs somewhere other than in builtin.c ? Perhaps in utils.c where other tty mucking is located? (Not that utils.c itself isn't getting a bit large.) -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net