home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1994 February
/
psl_9403.zip
/
psl_9403
/
DOS
/
UT_SYSTM
/
DOSMENU.ZIP
/
NOBRK.ZIP
/
READ.ME
< prev
Wrap
Text File
|
1988-04-05
|
2KB
|
38 lines
NOBRK.SYS (C) 1987, 1988 John Pulliam, Walter Cox, and Benjamin Diss.
NOBRK.SYS is intended to disable CTRL-BRK and CTRL-C. It is most useful in
preventing the halt of an autoexec.bat file during the system boot. ^BREAK
and ^C can be enabled using the utility (included) called NOBRK.COM.
Typing "NOBRK ON" turns ^BREAK and ^C on and typing "NOBRK OFF" turns
^BREAK and ^C off. NOBRK.COM works by sending the characters typed on the
command line after its name (ex. "off" and "on") to the driver. The driver
scans the string for the letters "f" and "n" (upper and lower case). If it
finds an "f" it turns the break keys off, if it finds an "n" it turns them
on. Any program can communicate to the driver by writing to the device
called "CTRL-BRK". Any attempt to read from it will cause a read fault
error.
NOBRK.SYS works by intercepting all keypresses and looking for the ^BREAK
and ^C key combinations. If break is off it resets the keyboard controller
and exits. If break is on it passes the keypress to the appropriate
handler. NOBRK.SYS requires only 304 bytes of memory when loaded.
To install NOBRK add the line: "device = [d:] NOBRK.SYS" (where d: = the
drive and path) to your config.sys file. NOBRK should be loaded first so
insert the line before any other entries in the config.sys file.
The authors of this program accept no liability for any results arising
from its use or misuse. The program is provided as is without any
warranties or promises.
For any comments or questions please contact me on any of the following
boards:
Benjamin Diss
Diss Micro Consulting
CIS# 71270,341
GEnie: BDiss
Plantz: ID1119