Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [RESEND] Do 'select' should behave like this?
- X-seq: zsh-users 7640
- From: DervishD <raul@xxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxxxxx>
- Subject: Re: [RESEND] Do 'select' should behave like this?
- Date: Wed, 30 Jun 2004 21:14:48 +0200
- Cc: Zsh Workers <zsh-workers@xxxxxxxxxx>
- In-reply-to: <Pine.LNX.4.60.0406300839300.5600@xxxxxxxxxxxxxxxxxx>
- Mail-followup-to: Zsh Users <zsh-users@xxxxxxxxxx>, Zsh Workers <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: Pleyades
- References: <20040630102058.GB4498@DervishD> <Pine.LNX.4.60.0406300839300.5600@xxxxxxxxxxxxxxxxxx>
Hi Bart :)
* Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> 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/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author