Date: Tue, 2 Sep 2008 16:30:20 +0100 From: Thomas Hurst <tom.hurst@clara.net> To: Roman Divacky <rdivacky@freebsd.org> Cc: Alexey Shuvaev <shuvaev@physik.uni-wuerzburg.de>, Ed Schouten <ed@80386.nl>, freebsd-current@freebsd.org Subject: Re: csh history and pts Message-ID: <20080902153020.GA94977@voi.aagh.net> In-Reply-To: <20080901160844.GA56657@freebsd.org> References: <48BAD085.1090507@gmail.com> <20080831200950.GF99951@hoeg.nl> <871w04syfw.fsf@kobe.laptop> <20080901101121.GC4083@wep400x.physik.uni-wuerzburg.de> <20080901160844.GA56657@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* Roman Divacky (rdivacky@freebsd.org) wrote: > > Back to original post, I confirm that [t]csh loses history after shutdown(8). > > might be completely irrelevant but tcsh on linux loses history for me as well :) tcsh doesn't bother doing any locking when merging .history, so if you kill multiple sessions at once, it's very common to see entries get lost, interlaced or doubled e.g: #+1220363109 ./setup.py uninsta#+1220237817 ... #+1220363109 ./setup.py uninsta#+1220237817 #+1220363109 ./setup.py uninstall -vv --manifest files.txt #+1220363109 iles.txt #+1220363109 d' I see it a lot when I close Terminator and kill the 4+ terms in it at the same time. If I ^D each term manually it's fine, if I kill half a dozen at once I'll probably lose half the history entirely and the other half will be badly mangled. I expect shutdown is having a similar effect. -- Thomas 'Freaky' Hurst http://hur.st/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080902153020.GA94977>