I use GNU screen
with 5 different sessions, each of which stores its own command history. But often I don't find a command in the history, although I'm sure I've used it exactly in the session I'm currently in, a few weeks ago.
It seems there is a hard limit on the history size? How can I set that to infinity?
A related question: How can I control where the history of a session is stored? Often, our sysadmin reboots the computer(s) and I lose all my sessions, and I have to do screen -wipe
because the sessions are corrupted. Then, all histories are gone. :( I'd like to find the stored histories in that case and bind them in a newly created session.
P.S.: I use bash
in all screen sessions.
UPDATE: I am not asking about how to unify the session histories. Just, I want each session to have an infinite history, and I want to be able to 'load' that history into a new session, should the old one get corrupted or deleted.
UPDATE 2: You've probably figured out: When I said I use GNU screen
with 5 different sessions I really mean a GNU screen
session with 5 different windows in it. Sorry.