Date: Thu, 27 Jan 1994 09:01:40 +0100 From: terra AT diku DOT dk To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: suppressing ctrl-c From: peprbv (Bob Babcock) Organization: Kaleida Labs, Inc. References: <9401262243 DOT AA25341 AT cuba DOT Cayman DOT COM> Date: 27 Jan 94 02:56:16 GMT > but i still can't figure out how to suppress ctrl-c. Have you tried turning off control-c checking using int 21h, ah=33h, al=1, dl=0? It may also help to set raw mode using function 44h. As I remember it there's even a c function, setcbrk (), that can be used; anyway that's what I did for Emacs. When you are setting the Break mode (or the stdout mode) you should take care to restore them before exiting; otherwise the next program may act a little funny. Morten Welinder terra AT diku DOT dk