From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8156 invoked from network); 8 Oct 1998 19:40:56 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 8 Oct 1998 19:40:56 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id PAA20962; Thu, 8 Oct 1998 15:23:08 -0400 (EDT) Resent-Date: Thu, 8 Oct 1998 15:23:03 -0400 (EDT) Message-Id: <199810081926.OAA00780@kenku.warthog.com> To: Mircea Damian cc: zsh-users@math.gatech.edu From: Rob Windsor Reply-To: Rob Windsor Subject: Re: How to trigger the death of zsh(3.0.5) X-Files: THE TRUTH IS OUT THERE In-reply-to: Your message of "Thu, 08 Oct 1998 14:15:17 CDT." Date: Thu, 08 Oct 1998 14:26:09 -0500 Sender: windsor@warthog.com Resent-Message-ID: <"nbbvg.0.-65.N4H7s"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1849 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu I did blather: > Verily did Mircea Damian write: >> 1) >> I posted a while ago a message about the "disappearing zsh". >> I'm still using zsh-3.0.5(the one which comes with slackware 3.5) and I >> found a way to trigger the death of zsh: >> I'm doing a backward-i-search(Ctrl-r) for "ls"(without quotes) and >> instead of pressing enter I'm hitting Ctrl-C(which is interrupt key for >> my terminal) so he prompt for search is disappearing. Then it's enough >> to type "ls", enter and the shell is dead. >> My machine is linux-2.0.33 on a ix86 architecture(P200) with slackware 3.5. > I can reproduce this bug on Solaris-2.6/sparc, SunOS 4.1.3_U1/sparc, and > NetBSD-1.3.2/i386. >> Here is the /etc/zprofile(which is linked to /etc/zshrc): > [...] >> setopt histignoredups histignorespace nobeep autocd autolist nonomatch >> appendhistory nobgnice correctall histnostore listtypes > I removed my .zshenv (no other zsh files) and went through my configuration > line-by-line (option-by-option) to determine which one was consistently > killing off my shell. I found: > ==== > : wst103:~; telnet localhost > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > SunOS 5.6 > login: windsor > Password: > Last login: Thu Oct 8 13:47:59 from localhost > wst103% setopt prompt_subst > (C-r, ls, C-c) > wst103% ls > Connection closed by foreign host. > ==== > But I couldn't accurately reproduce the bug with your list of setopts, just > "prompt_subst" (which you don't have listed). Oh, one other addition to this: If you use C-g (emacs "abort" keybinding instead of terminal INTR), your shell doesn't blow out. -- Rob ---------------------------------------- Internet: windsor@warthog.com Life: Rob@Carrollton.Texas.USA.Earth The weather is here, wish you were beautiful.