From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 358 invoked from network); 10 May 1997 17:53:55 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 10 May 1997 17:53:55 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id NAA07238; Sat, 10 May 1997 13:37:27 -0400 (EDT) Resent-Date: Sat, 10 May 1997 13:37:27 -0400 (EDT) From: "Bart Schaefer" Message-Id: <970510104024.ZM9405@candle.brasslantern.com> Date: Sat, 10 May 1997 10:40:24 -0700 X-Mailer: Z-Mail (4.0b.820 20aug96) To: zsh-workers@math.gatech.edu Subject: History bug still present in 3.0.3-test5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"NIJvA3.0.-m1.L9BTp"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/3112 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu I reported some while ago that zsh was failing to save history when it exits due to a dropped connection. This is still happening. To see it, run xterm -e zsh -l and then use the window manager to kill the xterm. The $HISTFILE file will be truncated to zero size. I think the problem may be that zsh begins to save history when it gets the EOF on standard input, and then exits without finishing the job because it gets a SIGHUP immediately thereafter. However, I can't be sure that this is the problem. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.nbn.com/people/lantern