[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How does screen survive logout?
From: |
David Thomas |
Subject: |
Re: How does screen survive logout? |
Date: |
Fri, 21 Feb 2014 13:53:29 -0800 |
My understanding (not having looked at the code - someone correct me if I'm wrong) is that it's split into two processes, effectively a client and server. When you start a new screen session, it spins up both, but only the client is associated with the terminal. So closing the terminal kills the client (as it should); the server lives on because it never got the HUP. When you attach a screen, it connects to a running server.