Path: utzoo!attcan!uunet!zephyr.ens.tek.com!videovax!dougs From: dougs@videovax.tv.tek.com (Doug Stevens) Newsgroups: comp.sys.ibm.pc.programmer Subject: Re: Avoiding ^C Summary: Supressing ^C Message-ID: <5878@videovax.tv.tek.com> Date: 2 Jul 90 17:09:43 GMT Organization: Tektronix TV Measurement Systems, Beaverton OR Lines: 11 Here is a partial solution from Ge van Geldorp (thanks to Pat McCarthy and Clayton E. Cramer for summarizing this problem before): > It turns out that the ^C echoed by DOS is written to stdout. Thus, if > you don't need stdout, you can redirect it to nul from within your > program (using dup2()), thereby sending the ^C to the bit-bucket. > Hope this helps. > > Ge van Geldorp > ge@dutlru2.tudelft.nl > ...!uunet!hp4nl!dutlru2.tudelft.nl!ge