From: Subject: Re: suppressing ctrl-c Organization: Kaleida Labs, Inc. References: <9401270256 DOT AA19007 AT cfa0 DOT harvard DOT edu DOT HARVARD DOT EDU> Originator: daemon AT talisman DOT kaleida DOT com Date: 27 Jan 94 08:01:40 GMT To: djgpp AT sun DOT soe DOT clarkson DOT edu Reply-To: djgpp AT sun DOT soe DOT clarkson DOT edu 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