From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh Workers <zsh-workers@sunsite.dk>
Subject: Re: [RESEND] Do 'select' should behave like this?
Date: Wed, 30 Jun 2004 08:47:02 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.60.0406300839300.5600@toltec.zanshin.com> (raw)
In-Reply-To: <20040630102058.GB4498@DervishD>
On Wed, 30 Jun 2004, DervishD wrote:
> 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.
> 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
next prev parent reply other threads:[~2004-06-30 15:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-30 10:20 DervishD
2004-06-30 15:47 ` Bart Schaefer [this message]
2004-06-30 19:14 ` DervishD
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.60.0406300839300.5600@toltec.zanshin.com \
--to=schaefer@brasslantern.com \
--cc=zsh-users@sunsite.dk \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).