Re: Screen staying alive after ctrl+c-ing its initial task

Bruno Cudini <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
Hi list,

On Tue, Jan 22, 2013 at 05:06:31AM +0200, Andrey Utkin wrote:
> 3. I tried to interrupt such script process with Ctrl+C while attached
> to its screen. Surprisingly, i haven't got bash prompt after that, but
> screen is terminated. What can i do to get prompt again, to have
> chance to restart the script? This seem natural use-case for screen to
> me, i am surprised not to find any command line flags for it.

I think you're looking for the zombie mode, to keep windows opened once
the script is done. I can't find an option to pass in the command line,
but a defzombie in your screenrc should do the trick.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.