From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10018 invoked from network); 10 May 2000 18:28:45 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 10 May 2000 18:28:45 -0000 Received: (qmail 14952 invoked by alias); 10 May 2000 18:28:37 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11313 Received: (qmail 14920 invoked from network); 10 May 2000 18:28:35 -0000 From: "Bart Schaefer" Message-Id: <1000510182427.ZM15526@candle.brasslantern.com> Date: Wed, 10 May 2000 18:24:27 +0000 In-Reply-To: Comments: In reply to Andrej Borsenkow ""Cancel" menu selection & Co?" (May 10, 9:14pm) References: X-Mailer: Z-Mail (5.0.0 30July97) To: Andrej Borsenkow , Zsh workers list Subject: Re: "Cancel" menu selection & Co? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On May 10, 9:14pm, Andrej Borsenkow wrote: } Subject: "Cancel" menu selection & Co? } } Currently, as soon as menu selection is started, there seems to be no way } to cancel it - that is, revert input line to original state. The closest } it, exit menu selection and hit Undo. } } Does anybody really use ^G to switch from menu selection to menu } completion? I hardly see any point here. So, the suggestion is, to make ^G } really cancel selection and revert line to it's original state (before } match was inserted). This is also consistent behaviour for ^G, that } normally cancels actions in other places. I, too, would prefer this behavior. } As a related (to me at least) question or request - is it possible to } enter menu selection immediately if list does not fit on screen? We discussed that, but I don't recall whether it's possible. The doc for the `menu' style doesn't mention it. } OTOH if menu selection can be quit with ^G it can be } used as replacement for listing, but replacement that supports scrolling, } paging, going back etc. Listing already supports scrolling; set the LISTPROMPT parameter. There's a list-prompt style, too. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com