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

Re: [zsh 3.1.9] history bug?



On Thu, Nov 30, 2000 at 16:44:07 +0000, Bart Schaefer wrote:
> One question would be, what does the history file contain after you've
> given *each* of the last three commands, and *before* you close the
> third terminal, in your example? With incappendhistory set, each command
> should be saved as it is issued, and closing the terminal should not
> change the file.

In fact, this is not what happens. Here's another test. All the
commands are typed in the same terminal, and each time, I give
the current history.

zzt 1

: 975660098:0;zzt 1

zzt 2

: 975660098:0;zzt 1

zzt 3

: 975660098:0;zzt 1
: 975660120:0;zzt 3

zzt 4

: 975660098:0;zzt 1
: 975660120:0;zzt 3

zzt 5

: 975660098:0;zzt 1
: 975660120:0;zzt 3
: 975660140:0;zzt 5

zzt 6

: 975660098:0;zzt 1
: 975660120:0;zzt 3
: 975660140:0;zzt 5

zzt 7

: 975660098:0;zzt 1
: 975660120:0;zzt 3
: 975660140:0;zzt 5
: 975660154:0;zzt 7

zzt 8

: 975660098:0;zzt 1
: 975660120:0;zzt 3
: 975660140:0;zzt 5
: 975660154:0;zzt 7

and now, after closing the terminal:

: 975660098:0;zzt 1
: 975660120:0;zzt 3
: 975660140:0;zzt 5
: 975660154:0;zzt 7
: 975660108:0;zzt 2
: 975660132:0;zzt 4
: 975660148:0;zzt 6
: 975660161:0;zzt 8

-- 
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 / PolKA research team at LORIA



Messages sorted by: Reverse Date, Date, Thread, Author