From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.5/8.7.3) with ESMTP id GAA02583 for ; Mon, 19 Aug 1996 06:28:39 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id QAA11783; Sun, 18 Aug 1996 16:30:31 -0400 (EDT) Resent-Date: Sun, 18 Aug 1996 16:30:31 -0400 (EDT) From: "Bart Schaefer" Message-Id: <960818133132.ZM24207@candle.brasslantern.com> Date: Sun, 18 Aug 1996 13:31:32 -0700 Reply-To: schaefer@nbn.com X-Mailer: Z-Mail (4.0b.729 29jul96) To: zsh-workers@math.gatech.edu Subject: Reliable zsh-3.0.0 core dump MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"D4dJ5.0.1u2.crt5o"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/2026 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Install the following function and alias; then execute run-help (via ZLE with ESC h) more than once. It works the first time, and dumps core in parsecomp() the second time (with a trashed stack). zman() { if [[ -f /usr/local/lib/zsh/functions/run-help ]] then autoload run-help FPATH=/usr/local/lib/zsh/functions \run-help $1 elif [[ -f /usr/local/lib/zsh/help/$1 ]] then less /usr/local/lib/zsh/help/$1 else man $1 fi } alias run-help zman I found this by accident, because if you change it to be: zman() { if [[ -f /usr/local/lib/zsh/functions/run-help ]] then autoload run-help unalias run-help # Added this line FPATH=/usr/local/lib/zsh/functions \run-help $1 elif [[ -f /usr/local/lib/zsh/help/$1 ]] then less /usr/local/lib/zsh/help/$1 else man $1 fi } Then it works exactly as desired. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.nbn.com/people/lantern New male in /home/schaefer: >N 2 Justin William Schaefer Sat May 11 03:43 53/4040 "Happy Birthday"