[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Append history from each shell upon exiting GNU Screen
From: |
Roger |
Subject: |
Append history from each shell upon exiting GNU Screen |
Date: |
Sun, 11 Sep 2011 23:23:48 -0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
When using GNU Screen (or other terminal multiplexer), I noticed the terminal
multiplexer never gives each bash shell opened, a chance to write the history
file on exit.
The usual result after an initial install for several months, the history file
will
remain practically empty.
(As a temporary hack, I created halt scripts for each of my hosts for halting
remotely, but prior to issuing the halt command, I would send each bash process
an exit signal -- hence, saving the history.)
--
Roger
http://rogerx.freeshell.org/
- Append history from each shell upon exiting GNU Screen,
Roger <=