zsh-workers
 help / color / mirror / code / Atom feed
* History bug still present in 3.0.3-test5
@ 1997-05-10 17:40 Bart Schaefer
  1997-05-11  3:14 ` Zoltan Hidvegi
  0 siblings, 1 reply; 4+ messages in thread
From: Bart Schaefer @ 1997-05-10 17:40 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1997-05-11  6:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-05-10 17:40 History bug still present in 3.0.3-test5 Bart Schaefer
1997-05-11  3:14 ` Zoltan Hidvegi
1997-05-11  5:15   ` Bart Schaefer
1997-05-11  6:13     ` Zoltan Hidvegi

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).