From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29742 invoked from network); 30 Jun 2004 19:24:39 -0000 Received: from odin.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.85) by ns1.primenet.com.au with SMTP; 30 Jun 2004 19:24:39 -0000 Received: (qmail 25429 invoked from network); 30 Jun 2004 20:35:20 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 30 Jun 2004 20:35:20 -0000 Received: (qmail 7861 invoked by alias); 30 Jun 2004 19:22:55 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7640 Received: (qmail 7848 invoked from network); 30 Jun 2004 19:22:54 -0000 Received: from odin.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.85) by sunsite.dk with SMTP; 30 Jun 2004 19:22:54 -0000 Received: (qmail 22986 invoked from network); 30 Jun 2004 20:34:21 -0000 Received: from madrid10.amenworld.com (62.193.203.32) by a.mx.sunsite.dk with SMTP; 30 Jun 2004 20:34:14 -0000 Received: from DervishD.pleyades.net (212.Red-80-35-44.pooles.rima-tde.net [80.35.44.212]) by madrid10.amenworld.com (8.10.2/8.10.2) with ESMTP id i5UJMie20208; Wed, 30 Jun 2004 21:22:45 +0200 Received: from raul@pleyades.net by DervishD.pleyades.net with local (Exim MTA 2.05) id <1BfkXg-00008A-00>; Wed, 30 Jun 2004 21:14:48 +0200 Date: Wed, 30 Jun 2004 21:14:48 +0200 From: DervishD To: Zsh Users Cc: Zsh Workers Subject: Re: [RESEND] Do 'select' should behave like this? Message-ID: <20040630191448.GA489@DervishD> Mail-Followup-To: Zsh Users , Zsh Workers References: <20040630102058.GB4498@DervishD> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.1i Organization: Pleyades X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 Hi Bart :) * Bart Schaefer dixit: > > select ITEM in 1 2 3 4 ; do print $ITEM ; clear ; done > > Enter '1', for example, and see how the list dissapears. > Right; "select" only reprints the select list when the user seems to be > confused about the possible choices. It has no way of knowing what the > state of the screen is. OK, I thought that it was a bug, but this makes sense. > > You must press 'enter' to display it again. Any way of solving this? > Not directly with only select. You can of course do this: > > while some suitable condition > do > select ITEM in 1 2 3 4 > do > a thing that wipes the screen > break > done > done That will do, Bart, thanks a lot :))))) Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 http://www.pleyades.net & http://raul.pleyades.net/