From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29631 invoked from network); 19 Aug 2006 18:14:07 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO,UNPARSEABLE_RELAY autolearn=ham version=3.1.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 19 Aug 2006 18:14:07 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 55512 invoked from network); 19 Aug 2006 18:13:59 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 19 Aug 2006 18:13:59 -0000 Received: (qmail 14580 invoked by alias); 19 Aug 2006 18:13:51 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10622 Received: (qmail 14571 invoked from network); 19 Aug 2006 18:13:50 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 19 Aug 2006 18:13:50 -0000 Received: (qmail 54235 invoked from network); 19 Aug 2006 18:13:50 -0000 Received: from vms040pub.verizon.net (206.46.252.40) by a.mx.sunsite.dk with SMTP; 19 Aug 2006 18:13:49 -0000 Received: from torch.brasslantern.com ([71.121.0.226]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J4900LOLBYVI2G8@vms040.mailsrvcs.net> for zsh-users@sunsite.dk; Sat, 19 Aug 2006 13:13:44 -0500 (CDT) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id k7JIDhaH028531 for ; Sat, 19 Aug 2006 11:13:43 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id k7JIDgTP028530 for zsh-users@sunsite.dk; Sat, 19 Aug 2006 11:13:42 -0700 Date: Sat, 19 Aug 2006 11:13:42 -0700 From: Bart Schaefer Subject: Re: scrollable list of completions In-reply-to: <20060819100622.GG27421@ay.vinc17.org> To: zsh-users@sunsite.dk Message-id: <060819111342.ZM28529@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <20060819100622.GG27421@ay.vinc17.org> Comments: In reply to Vincent Lefevre "scrollable list of completions" (Aug 19, 12:06pm) On Aug 19, 12:06pm, Vincent Lefevre wrote: } } How can I have both? As far as I can tell, you can't. The test for whether to print that prompt or invoke scrolling is deep in the C code after the shell functions have given up control. You can hook in at the comppostfuncs to ask the question yourself, but at that point it appears to be too late to prevent the list from being printed anyway.