Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [4.0.2 bug] commands not written to history
- X-seq: zsh-workers 15450
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: [4.0.2 bug] commands not written to history
- Date: Sun, 22 Jul 2001 17:33:20 +0200
- Cc: Vincent Lefevre <vincent@xxxxxxxxxx>
- In-reply-to: <1010721183220.ZM8456@xxxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: Vincent Lefevre <vincent@xxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20010629163348.A9632@xxxxxxxxxxxxxx> <20010721154449.A1971@xxxxxxxxxx> <1010721183220.ZM8456@xxxxxxxxxxxxxxxxxxxxxxx>
On Sat, Jul 21, 2001 at 18:32:20 +0000, Bart Schaefer wrote:
> Because zsh writes the history before calling TRAPEXIT, the `unsaved' file
> should always be empty. If it is not, then INC_APPEND_HISTORY is causing
> an error when the history is written at exit time.
This isn't true here:
ay:~/.zhist-debug> cat unsaved.845 <17:29:25
: 995810482:0;
ay:~/.zhist-debug> tail -n 5 complete.845 <17:29:39
: 995761699:0;tail .tin/posted
: 995762334:0;tail -n 45 .tin/posted >| ~out/addposted
: 995797911:12567;startx
: 995810481:1;halt
: 0:995797910;
ay:~/.zhist-debug> tail -n 5 histfile.845 <17:29:48
: 995810431:0;ll ~out
: 995810450:0;cd out
: 995810455:0;zip -ru ../file.zip *
: 995810458:0;cd
: 995810467:0;tail -n 45 .tin/posted >| ~out/addposted
ay:~/.zhist-debug> cat unsaved.949 <17:31:36
: 995810477:0;
ay:~/.zhist-debug> tail -n 5 complete.949 <17:31:39
: 995761695:0;cd
: 995761699:0;tail .tin/posted
: 995762334:0;tail -n 45 .tin/posted >| ~out/addposted
: 995797911:0;startx
: 0:995797922;
ay:~/.zhist-debug> tail -n 5 histfile.949 <17:31:42
: 995810431:0;ll ~out
: 995810450:0;cd out
: 995810455:0;zip -ru ../file.zip *
: 995810458:0;cd
: 995810467:0;tail -n 45 .tin/posted >| ~out/addposted
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/> - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Messages sorted by:
Reverse Date,
Date,
Thread,
Author