zsh-users
 help / color / mirror / code / Atom feed
From: DervishD <raul@pleyades.net>
To: Zsh Users <zsh-users@sunsite.dk>
Cc: Zsh Workers <zsh-workers@sunsite.dk>
Subject: Re: [RESEND] Do 'select' should behave like this?
Date: Wed, 30 Jun 2004 21:14:48 +0200	[thread overview]
Message-ID: <20040630191448.GA489@DervishD> (raw)
In-Reply-To: <Pine.LNX.4.60.0406300839300.5600@toltec.zanshin.com>

    Hi Bart :)

 * Bart Schaefer <schaefer@brasslantern.com> 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/


           reply	other threads:[~2004-06-30 19:24 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <Pine.LNX.4.60.0406300839300.5600@toltec.zanshin.com>]

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=20040630191448.GA489@DervishD \
    --to=raul@pleyades.net \
    --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).