home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!silvonen
- From: silvonen@klaava.Helsinki.FI (Mikko Silvonen)
- Newsgroups: comp.os.os2.programmer
- Subject: DosSetSigHandler in OS/2 1.3 Window
- Message-ID: <1992Nov16.084020.28839@klaava.Helsinki.FI>
- Date: 16 Nov 92 08:40:20 GMT
- Organization: University of Helsinki
- Lines: 17
-
- One of my OS/2 programs disables Ctrl+Break and Ctrl+C like this:
-
- DosSetSigHandler (NULL, NULL, NULL, SIGA_IGNORE, SIG_CTRLBREAK);
- DosSetSigHandler (NULL, NULL, NULL, SIGA_IGNORE, SIG_CTRLC);
-
- Everything works fine in a full-screen session, but when I run my
- program in an OS/2 Window, Ctrl+C and Ctrl+Break terminate the process
- as if I had not disabled the signals at all.
-
- Any suggestions?
-
- My OS/2 version is 1.30.
-
- --
- ! Mikko Silvonen ! Puhu lyhyesti ja harkitse sanasi !
- ! University of Helsinki, Finland ! Vihollinen kuuntelee !
- ! Department of Computer Science ! Kirjoita selv{sti K{yt{ lyhenteit{ !
-