Re: signals

From: Juliano Ravasi Ferraz (
Date: 09/18/00

>         The signals are intersting.  They're used to tell circle 'hey, an
> external program just ran and re-read your wizlist.'  That's not the
> interesting part.  The interesting part is that SIGHUP is usually used to
> re-read any sort of external file, and in circle it kills the mud :)

   This is only valid for 'daemon' programs.  SIGHUP means "Hangup", and
is sent to all running processes on the current tty, when it is closed
(maybe a Modem Hangup, or loosing a telnet connection).

   Some systems sends this signal to all running processes on the tty
(including background processes), that makes some people needed to run
CircleMUD with the 'nohup' program.  Other systems sends this signal
only to normal (foreground) and stopped processes.

   Daemon processes can handle SIGHUP because they don't have a
controling tty, and they will never receive a SIGHUP sent by the system.

Best regards,

----=[ Juliano Ravasi Ferraz ]=----=[ ]=----
     Rayon Eletrônica e Informática Ltda. - Linkway Descalvado

Youthful figure: What you get when asking a woman's age.

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

This archive was generated by hypermail 2b30 : 04/11/01 PDT