csh history and pts

Peter Wemm peter at wemm.org
Tue Sep 2 20:41:26 UTC 2008

On Tue, Sep 2, 2008 at 9:00 AM, Roman Divacky <rdivacky at freebsd.org> wrote:
> On Tue, Sep 02, 2008 at 04:30:20PM +0100, Thomas Hurst wrote:
>> * Roman Divacky (rdivacky at 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:
> that's not it.... I never had any history saved since I started to use Linux (10 months
> ago)..
> I occasionlly get garbled/lost history under fbsd but this is different

FreeBSD's tcsh history saving has always been spotty on the console at
reboot time.  Over the last 15 years, sometimes it worked, sometimes
not.  I think it depended more on the phase of moon than anything.

Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com; KI6FJV
"All of this is for nothing if we don't go to the stars" - JMS/B5
"If Java had true garbage collection, most programs would delete
themselves upon execution." -- Robert Sewell

More information about the freebsd-current mailing list