6
votes
3answers
953 views

Why are background jobs started by my shell living longer than the parent shell and controlling terminals?

It is commonly said that "&" puts the process into background execution, but that process would be killed when terminal is closed. But from what I see, everything I sent into background was ...
1
vote
4answers
914 views

How to prevent a program from dying when its ssh session dies?

I have a really old console application that I want to make a bit more resilient. The program is used this way: the user uses a custom terminal emulator to connect to a remote machine through ssh ...
2
votes
3answers
2k views

Dtach and Vim over Ssh: Reattach Session

I connected to my server: $ ssh me@example.com While in the server, I open a dtach session with vim: $ dtach -c \tmp\my-dtach-session-pipe vim Then my ssh session dies. I attempt to go back to ...