From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21573 invoked from network); 27 Aug 2004 00:46:06 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 27 Aug 2004 00:46:06 -0000 Received: (qmail 1350 invoked from network); 27 Aug 2004 00:46:00 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 27 Aug 2004 00:46:00 -0000 Received: (qmail 2745 invoked by alias); 27 Aug 2004 00:45:18 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7933 Received: (qmail 2731 invoked from network); 27 Aug 2004 00:45:17 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by 130.225.247.90 with SMTP; 27 Aug 2004 00:45:17 -0000 Received: (qmail 99340 invoked from network); 27 Aug 2004 00:43:19 -0000 Received: from moonbase.zanshin.com (64.84.47.139) by a.mx.sunsite.dk with SMTP; 27 Aug 2004 00:43:17 -0000 Received: from toltec.zanshin.com (toltec.zanshin.com [64.84.47.166]) by moonbase.zanshin.com (8.13.1/8.13.1) with ESMTP id i7R0hGGa009193 for ; Thu, 26 Aug 2004 17:43:16 -0700 Date: Thu, 26 Aug 2004 17:43:16 -0700 (PDT) From: Bart Schaefer Reply-To: zsh-users@sunsite.dk To: zsh-users@sunsite.dk Subject: Re: Tip of the day: previous command output In-Reply-To: <20040826231624.GA4778@spiegl.de> Message-ID: References: <20040819085812.GL22962@localhost> <20040819164250.GA21575@spiegl.de> <20040820121202.GA31466@spiegl.de> <20040820145032.GH13530@ay.vinc17.org> <20040822212126.GN7841@ay.vinc17.org> <20040823130043.GA7841@ay.vinc17.org> <20040826231624.GA4778@spiegl.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=-0.9 required=6.0 tests=BAYES_30 autolearn=no version=2.63 X-Spam-Hits: -0.9 (I think we're making a run at the longest zsh-users thread ever.) On Fri, 27 Aug 2004, Andy Spiegl wrote: > I'm having problems with binding a key to "accept-and-menu-complete". > I thought that Ctrl-Enter would be a nicely fitting key for that (which > one do you guys use?) and tried > bindkey -M menuselect '\C\r' accept-and-menu-complete The '\C' prefix is meaningless, and ignored, for characters outside the range a-z (or A-Z). It's a shortcut for an ASCII value, not a shortcut for (e.g.) an X11 key event. Whether Ctrl-Enter is meaningful depends entirely on your terminal or emulator, and probably either sends a plain return, or sends a multi- character sequence like a function key would. You need to find out what it sends and bind to _that_.