fivemack: (Default)
Tom Womack ([personal profile] fivemack) wrote2006-09-11 04:41 pm
Entry tags:

post-diluvian shells

Is there any shell which maintains an at-all-sensible command history when you're working with several terminals each with half a dozen sessions in tabs? Intercalating the history from multiple sessions would probably be ideal for my current working style; appending the history from each session as a lump when the session closes would also be fine; but at the moment tcsh seems to maintain history for at most one session, randomly-selected, and this makes 'history' less than useful if I actually want to work out what I've been doing.
ext_8103: (Default)

[identity profile] ewx.livejournal.com 2006-09-11 03:52 pm (UTC)(link)
I believe Bash appends its history as a lump when you close it.

[identity profile] senji.livejournal.com 2006-09-11 04:00 pm (UTC)(link)
[livejournal.com profile] met24's description fits better, I'm afraid.

I'm actually considering having per-{STY,WINDOW} history files for this reason.
ext_8103: (Default)

[identity profile] ewx.livejournal.com 2006-09-11 04:08 pm (UTC)(link)
I suspect the problem is that it doesn't get to write the history if it doesn't get to shut down gracefuly.

[identity profile] senji.livejournal.com 2006-09-12 08:49 am (UTC)(link)
I think it also fails to lock sensibly, such that you get problems if two bash quit at once.