Subject: Alterate Editors and SIGHUP

From: [email-masked] (Andrew Brown)
Date: Tue, 31 Oct 1995 22:00:33 -0400

We are having some trouble on our HPUX system related to Pine and SIGHUP. 
When an alterate editor is open, PINE does not get the SIGHUP signal sent
when the terminal is closed (it is apparently not supposed to).  So, PINE
stays open and keeps trying to reopen the editor, which succeeds or fails
depending on the editor. 

Simply enabling the signal handler didn't solve the problem.  So I
substituted exit for the signal handler, and this naturally works, but not
in a very nice way.  Any ideas how we can get PINE to die when the
terminal is closed and an alternate editor is being used?

I don't know why signal handling was disabled while pine waits for the
editor to finish, but I'll bet there is a reason.  Either this could be
changed and a handler that exits cleanly could be added, or pine could
check to see if it's process group still exists, however that's done.

Please e-mail replies to me, as I don't regularly read this group.  Thanks,

Andrew

-- 
Andrew Brown
Class of '97
Swarthmore College