anyone use screen much? i've noticed for years that whenever i grab my
screen session to another terminal, the terminal it was grabbed from
gets logged out. how? how does screen (the child) tell bash (the
parent) to exit? and why?
i suppose you could say that's a handy intentional feature? but hey, if
i wanted that to happen, i would have invoked "exec screen", wouldn't i?
this actually bit me today, because i had various X apps running thru
the ssh session in addition to screen, and i was not amused when the X
apps were all dead.
yes ok, there is a workaround: invoke another _interactive_ bash within
the login bash, then invoke screen. (bash -c screen not good enough!)
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!