Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [4.0.2 bug] commands not written to history



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