Mail Archives: djgpp/1994/01/26/18:37:11
hi --
i'm porting a text editor to djgpp. error handling is obviously
pretty important.
i've figured out how to suppress ctrl-break, using the
go32...ctrl_break() functions. and i think i've got critical
errors licked (thanks, btw, to whoever sent me those code
fragments... they worked fine).
but i still can't figure out how to suppress ctrl-c. if i have
a read pending, i _don't_ get killed. if i _don't_ have a read
pending, i _do_ get killed. i've tried a setmode(0, O_BINARY),
thinking that might help, to no avail.
i even tried duping the code that implements the
go32_want_ctrl_break() and go32_was_ctrl_break_hit(), and created
a want_ctrl_c()/was_ctrl_c_hit() pair, that hooks into the ctrl-c
interrupt. that didn't work either. should it have?
i'm about out of ideas...
paul
---------------------
paul fox, pgf AT cayman DOT com (cayman systems inc. cambr^H^H^H^H^Hwoburn, ma)
home: pgf AT foxharp DOT boston DOT ma DOT us (arlington, ma)
- Raw text -