Date: Fri, 16 Apr 1999 12:26:31 -0400 Message-Id: <199904161626.MAA24507@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <371760E3.181FDF22@lps.u-psud.fr> (message from taupin on Fri, 16 Apr 1999 18:10:11 +0200) Subject: Re: Disabling ^C References: <371760E3 DOT 181FDF22 AT lps DOT u-psud DOT fr> Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > How can I disable ^C to kill a program? Try setmode(fileno(stdin), O_BINARY) first - that's probably what you really want. There's also setcbrk() with controls Ctrl-Break.