#NEWLINE# def __init__( self , wid ) : #NEWLINE# #INDENT# self . wid = wid #NEWLINE# signal . signal ( signal . SIGQUIT , self . handle_quit ) #NEWLINE# signal . signal ( signal . SIGTERM , wid . handle_quit ) #NEWLINE# signal . signal ( signal . SIGINT , self . handle_quit ) #NEWLINE# signal . signal ( signal . SIGCHLD , self . handle_chld ) #NEWLINE# self . alive = True