Keep GNU screen window open after program terminates

bashgnu-screen

The GNU Screen manual says:

When a program terminates, screen (per default) kills the window that
contained it.

The (per default) suggests that you can change this option, so that a program terminating won't kill the window it's in. How to I change this behavior?

Best Answer

try to use zombie or defzombie. I am using the following settings.

# don't remove windows from the window list as soon as window process exits.
zombie kr #  k: destory window, r: resurrect window
Related Question