| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
| Message-ID: | <20020114130428.52974.qmail@web9107.mail.yahoo.com> |
| Date: | Mon, 14 Jan 2002 05:04:28 -0800 (PST) |
| From: | ROLAND <roland_asmann AT yahoo DOT com> |
| Subject: | Re: PMCOM & signals |
| To: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| Cc: | djgpp AT delorie DOT com |
| In-Reply-To: | <Pine.SUN.3.91.1020114144423.16401C@is> |
| MIME-Version: | 1.0 |
| Reply-To: | djgpp AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
--- Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote: > I don't understand: are you saying that adding this > line: > > __djgpp_set_ctrl_c(0); > > to your program breaks it? That is, with this line > in your program, > pressing Ctrl-C causes the program to terminate > immediately? No, the line I referred to was extually the line with the signal() in it.. > This can be done using a simple call to kdhit(), no? > Why do you need to > get involved with yet another interrupt and signal? > I think you have > enough interrupts and signals in that program even > without Ctrl-C ;-) And how do I need to implement this to exit my program? Can I let kdhit (or is it kbhit?) exit the program on a CTRL-C?? __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |