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

History corruption (over NFS)



I've noticed history corruption (several times) when using screen,
with the following .screenrc file: the end of the .zhistory file
gets many null characters. I thought that zsh was using a lock
mechanism.

sessionname test32
shell -zsh
chdir /users/spaces/vlefevre/oldtests
sorendition 4 06
autodetach on
defscrollback 6000
escape ^za
hardstatus off
hardstatus string "%h%n (%t)"
termcapinfo xterm*|rxvt hs:ts=\E]2;:fs=^G:ds=\E]2;TITLEDISABLED^G
bind r screen telnet ulysse 4913
screen -h 6000 -t server  1 zsh -c "./t3-server -v results.stp.-2.54 2> server.out"
screen -h 6000 -t secstep 2 nice -2 zsh -c "./t3-secstep -r=results.stp.-2.54 --remove -l=20 2>&1 2> secstep.out"

Some additional information:

ulysse:~/tmd/oldtests> echo $ZSH_VERSION
4.2.0
ulysse:~/tmd/oldtests> setopt|grep hist
extendedhistory
histignoredups
histignorespace
histnofunctions
histnostore
histreduceblanks
incappendhistory
ulysse:~/tmd/oldtests> unsetopt|grep hist
noappendhistory
nobanghist
cshjunkiehistory
histallowclobber
nohistbeep
histexpiredupsfirst
histfindnodups
histignorealldups
histsavenodups
histverify
sharehistory
ulysse:~/tmd/oldtests> echo $HISTFILE
/users/spaces/vlefevre/.zhistory
ulysse:~/tmd/oldtests> echo $HISTSIZE
8000
ulysse:~/tmd/oldtests> mount|grep /users/spaces
waly:/vol/users/spaces on /users/spaces type nfs (rw,nfsvers=3,rsize=32768,wsize=32768,proto=tcp,addr=152.81.1.27)

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



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