From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3764 invoked from network); 7 Feb 2003 21:17:50 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 7 Feb 2003 21:17:50 -0000 Received: (qmail 25624 invoked by alias); 7 Feb 2003 21:16:39 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5893 Received: (qmail 25614 invoked from network); 7 Feb 2003 21:16:39 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 7 Feb 2003 21:16:39 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [158.130.12.194] by sunsite.dk (MessageWall 1.0.8) with SMTP; 7 Feb 2003 21:16:38 -0000 Received: from red.seas.upenn.edu (RED.SEAS.UPENN.EDU [158.130.64.176]) by lion.seas.upenn.edu (8.12.3/8.12.3) with ESMTP id h17LGej8030947 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for ; Fri, 7 Feb 2003 16:16:40 -0500 Received: from red.seas.upenn.edu (localhost [127.0.0.1]) by red.seas.upenn.edu (8.12.5/8.12.5) with ESMTP id h17LGdGJ012964 for ; Fri, 7 Feb 2003 16:16:39 -0500 (EST) Received: (from juhas@localhost) by red.seas.upenn.edu (8.12.5/8.12.5/Submit) id h17LGdSt012963 for zsh-users@sunsite.dk; Fri, 7 Feb 2003 16:16:39 -0500 (EST) Date: Fri, 7 Feb 2003 16:16:39 -0500 From: Pavol Juhas To: zsh users Subject: [bug] 1000G in vi-mode Message-ID: <20030207211639.GA10076@seas.upenn.edu> Mail-Followup-To: zsh users Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Hello, I found the following bug in zsh 4.0.4: If the current history number is less than 1000, zsh crashes after 1000G in vi command mode. Also, I wonder if there is a way to completely reset history in the interactive session and start from event 1? It would be useful for example in zcalc function, which re-reads the shell history. Right now each call increases the history number by $SAVEHIST. Thank you all, zsh is amazing. Pavol