🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #26141

Re: slrn does not respond to control Z -- how do i kill it when it hangs?

#26141
From: John E. Davis
Date: Thu, 19 Sep 1996 00:00
25 lines
1714 bytes
On 8 Sep 1996 05:09:31 GMT, Joseph Hartmann <joeh@arakis.sugar-river.net>
wrote:
 : it.  (fg brings it back)  When slrn hangs it is decidedly
 : difficult to get out of it: pick up a handset and hang up many
 : times may get the system to disconnect.

Please let me know where you are experiencing hanging problems.  slrn
should at least let you suspend during those crucial moments.  It might
also be nice to allow you to abort that particular operation.

The problem with allowing slrn, or any program, to always allow
suspension via SIGTSTP during any moment is that there are some things
that cannot be done, or should not be done, in a signal handler.  I
prefer to shut down the display routines in an orderly manner and
bring them back up again in an orderly manner.  This usually involves
calling malloc/free which, as far as I know, cannot be called while
handling a signal.
-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis


Technical Details
Message-ID: <slrn543hha.4su.davis@aluche.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <50tkeb$1g0@news.destek.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrn543hha.4su.davis@aluche.mit.edu>
Subject: Re: slrn does not respond to control Z -- how do i kill it when it hangs?
Date: Thu, 19 Sep 1996 00:00:00 +0000
From: davis@space.mit.edu (John E. Davis)
References: <50tkeb$1g0@news.destek.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 184035112
Organization: Center for Space Research
Reply-to: davis@space.mit.edu
Newsgroups: news.software.readers