[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

exiting screen should exit its windows nicely

From: Sam Steingold
Subject: exiting screen should exit its windows nicely
Date: Fri, 13 May 2011 11:53:48 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

When screen terminates on a signal, does it send EOF to each bash window?
if it will not, I will lose my bash history!
I often type quite complex commands (micro-scripts, actually) at the
bash prompt, and recall them using C-r.  I would like them to persist
for some time in the bash history files until they are eventually
forgotten due to dis-use. So, I love it that screen saves my bash
sessions from crashing when my connection fails, but I hate it that
screen does not tell the bash sessions in it to terminate when it is
exiting (e.g., when the host is rebooted).

In my ideal world the reboot script will send all screen sessions a
"finish" signal and screens will send EOF to each bash window they have.


Sam Steingold ( on CentOS release 5.6 (Final) X 
War has never solved anything - except for ending slavery, fascism, communism.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]