TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Mike Bilow
from: Timo Sirainen
date: 1996-05-18 12:50:42
subject: Cannot quit

TS>> How can I make an OS/2 program (fullscreen or PM) which can't
 TS>> be quit, like "Lockup" in Lauchpad?

 MB> In C, use the signal() function to set handlers for SIGBREAK (Ctrl-Break),
 MB> SIGINT (Ctrl-C), SIGTERM (DosKillProcess).  The C run-time library will
 MB> eventually call the OS/2 API DosSetExceptionHandler(), but you should not
 MB> call that directly from C because it requires special set up.

Well... I got the Ctrl-Break to not to work, but what about Ctrl-Esc, Ctrl-Alt
and Ctrl-Alt-Del?

--- Concord/BW ROO1C4DOS (Eval.)
* Origin: // Skyliner // +358-55-176242 // 24h // v34 // (2:227/33)
SEEN-BY: 50/99 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1
@PATH: 227/33 0 220/841 201/2104 109/347 18 13/25 396/1 270/101 712/515
@PATH: 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.