Mail Archives: djgpp/1994/01/27/08:58:46
From: peprbv <peprbv AT cfa0 DOT harvard DOT edu> (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
- Raw text -