Leen, On Saturday 28 August 2004 13:33, Leendert Meyer wrote:
On Saturday 28 August 2004 17:07, Randall R Schulz wrote:
Hi,
...
I always keep a Konsole window open in which I have four regular interactive BASH shells and one root shell running.
When I log out or shut down, it seems that the four shells running under my user ID clash somehow or fail to coordinate in the way they write the history file, and I end up with only one of those shells' history.
Does anyone know of a way to get all four shells' worth of history saved?
Perhaps the history is only saved if you logout of each shell properly, i.e. with 'exit', or 'logout'. Try to kill a shell on a virtual tty console (e.g. <Alt>+<Ctrl>-<F2>), and see if the history is saved. ;)
I don't know the precise means by which the shells are shut down when Konsole is shut down during a logout, but one shell's history always ends up being saved. Manually shutting the shells down is counter-productive, since then when I log in the next time, I wont' have my shells ready to go and I'll have to manually restart them (and rename them, as is my wont). If that's the alternative, then I'll just use some scripts I already have for resetting the shell context to its initial (login) state, which also saves the history. I'll have to remember to do it, but I guess that's the same thing if I have to terminate the shells to get their histories saved.
Cheers,
Leen
Randall Schulz