Thread View: comp.sys.ibm.pc.programmer
1 messages
1 total messages
Started by Doug Stevens
Mon, 02 Jul 1990 17:09
Re: Avoiding ^C
Author: Doug Stevens
Date: Mon, 02 Jul 1990 17:09
Date: Mon, 02 Jul 1990 17:09
11 lines
797 bytes
797 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads