From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1773 invoked from network); 19 Apr 2005 02:08:42 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 19 Apr 2005 02:08:42 -0000 Received: (qmail 66983 invoked from network); 19 Apr 2005 02:08:36 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 19 Apr 2005 02:08:36 -0000 Received: (qmail 16999 invoked by alias); 19 Apr 2005 02:08:28 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8695 Received: (qmail 16985 invoked from network); 19 Apr 2005 02:08:26 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 19 Apr 2005 02:08:26 -0000 Received: (qmail 65945 invoked from network); 19 Apr 2005 02:08:26 -0000 Received: from dsl3-63-249-88-2.cruzio.com (HELO dot.blorf.net) (63.249.88.2) by a.mx.sunsite.dk with SMTP; 19 Apr 2005 02:08:22 -0000 Received: by dot.blorf.net (Postfix, from userid 1000) id 871FB73D4; Mon, 18 Apr 2005 19:08:20 -0700 (PDT) Date: Mon, 18 Apr 2005 19:08:20 -0700 From: Wayne Davison To: Tejasvi Aswathanarayana Cc: zsh-users@sunsite.dk Subject: Re: Reverse history searching in zsh Message-ID: <20050419020820.GA20816@blorf.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6+20040907i X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 On Mon, Apr 18, 2005 at 12:58:16PM -0500, Tejasvi Aswathanarayana wrote: > This is one heck of a feature that I wouldnt want to miss in my shell. > (Ctrl-R to activate the reverse search) The implementation in zsh is even better than that in bash. For instance, bash doesn't let you backspace over a mistyped character like zsh does (in zsh backspace works like it does in emacs -- it backs up to any previous matches that were visited via extra Ctrl-R presses, and then removes search characters). Older versions of bash had several other deficiencies, but I just tried a fairly modern bash (for the first time in a while), and they seem to have fixed some the problems I had encountered in older versions. Zsh also has several other search features, such as typing the name of a command and pressing Escape-p (or Meta-p) will walk through the prior history lines that contain that command. ..wayne..