Jeremy C. Reed reed at
Thu Apr 10 18:14:02 EDT 2003

On Thu, 10 Apr 2003, jdd wrote:

> for now, nohup seems to be used to free the display from garbage

If a connection is closed, a SIGHUP (hence the name "hangup") signal is
usually sent to its child processes. Hopefully, they are written to catch
a SIGHUP so they can properly cleanup and quit themselves.

But some tools don't listen to SIGHUP, so they are terminated immediately.

The goal of nohup(1) is so the program is not terminated.

Also, if the output continued to be written to a display that no longer
exists, then a SIGPIPE may be sent killing the application too. That is
one reason why the output is redirected.

   Jeremy C. Reed

More information about the lpi-discuss mailing list