Re: How does screen survive logout?

David Thomas <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <CAJUDvcgk70TBkE-9y3mDRBvetgpNLooUkSSXMym0Bfs-NJBD_Q@mail.gmail.com>
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.


On Fri, Feb 21, 2014 at 11:17 AM, Michael Clark <[email protected]>wrote:

> I'm fairly new to linux and I am just curious as to how screen manages to
> survive the logout process. I don't know the logout process really works
> either but I assume that screen manages to ignore the signal sent to all
> the process I own when I logout. I thought that was SIGHUP but when I do
> kill -HUP <screen pid> it kills the session. Can someone explain how this
> works?
>
> _______________________________________________
> screen-users mailing list
> screen-users-mXXj517/[email protected]
> https://lists.gnu.org/mailman/listinfo/screen-users
>
>

_______________________________________________
screen-users mailing list
screen-users-mXXj517/[email protected]
https://lists.gnu.org/mailman/listinfo/screen-users
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.