Mail Archives: djgpp/1998/04/21/06:43:22
On Mon, 20 Apr 1998, Paul Derbyshire wrote:
> Sometimes if I shell to DOS, do some stuff, then type exit to return to RHIDE
> 1.4, it reappears in only half the screen, the bottom half cut off, in 80x25
> instead of 80x50 mode, with a box up asking "Do you really want to interrupt
> RHIDE?"
Could it be that this happens when during ``some stuff'' you do after
shelling to DOS you press Ctrl-C or Ctrl-BREAK? If so, it seems that
RHIDE catches SIGINT right after it returns from the child. (By default,
if RHIDE didn't do anything special, signals in DJGPP are passed to
the parent program as well.)
There are several facilities in DJGPP to prevent signals from being
passed to the parent program. Perhaps in the case of shelling to DOS
RHIDE should use one of these facilities.
- Raw text -