POSITION:028,114
COLOUR:STANDARD
TEXT:00,First of all, we need to disable Ctrl-C so it cannot kill the program
TEXT:16,outright. This is done by using the allow_break() library routine:
COLOUR:EUPHORIA
TEXT:32.include file.e
TEXT:16,allow_break( )
COLOUR:POINTS
TEXT:00,            i
COLOUR:STANDARD
TEXT:32,Setting the parameter   to 1 will allow Ctrl-C to abruptly halt the
COLOUR:POINTS
TEXT:00,                      i
COLOUR:STANDARD
TEXT:16,program, while 0 would prevent usage of Ctrl-C to halt the program.
TEXT:32,The most obvious benefit of allow_break() are in applications that offer
TEXT:16,menu options to users based on their security level. If a hacker could
TEXT:16,disable a menu program using Ctrl-C, s/he then could access the program
TEXT:16,of interest directly, bypassing security. However, having a program issue
TEXT:16,allow_break(0) at the start of its run would prevent this.

