🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #6375

Disable CTRL+BREAK from a TP6 program

#6375
From: Martin Bullivant
Date: Wed, 18 Nov 1992 14:18
19 lines
1073 bytes
Peeps,

I am writing a TP6 program which requires the CTRL+BREAK sequence to be
disabled, as it loads in data tables and manipulates them in real time.
If CTRL+BREAK is pressed then the program bombs out and leaves the tables
in a real mess.

I've tried adding the line SetCBreak(FALSE) to the start of the main loop,
and indeed the status is changed, but I can still Break out of the program.

Can someone please help me before I pull my hair out?

Cheers,

Martin Bullivant (M.E.Bullivant@uk.ac.bradford)

-- 
The victors invariably write the history to their own advantage.
    -- Picard, "Contagion", stardate 42609.1 
Technical Details
Message-ID: <1992Nov18.141829.813@bradford.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!bradford.ac.uk!M.E.Bullivant

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!bradford.ac.uk!M.E.Bullivant
From: M.E.Bullivant@bradford.ac.uk (Martin Bullivant)
Newsgroups: comp.os.msdos.programmer
Subject: Disable CTRL+BREAK from a TP6 program
Message-ID: <1992Nov18.141829.813@bradford.ac.uk>
Date: 18 Nov 92 14:18:29 GMT
Organization: University of Bradford, UK
Lines: 20
Originator: 89067960@ccw311
Nntp-Posting-Host: ccw311
X-Newsreader: TIN [version 1.1 PL6]