FreeDOS help system (hhstndrd 1.0.8 en)[break]

Command: break

BREAK sets extended CTRL+C (STRG+C) / Control-Break checking to on [default] or off. When set to on, the kernel will perform the check (and invoke current handler if pressed) prior to most int 21h calls. When set to off, the kernel only performs the check on I/O calls using standard streams. BREAK can be used in CONFIG.SYS / FDCONFIG.SYS and WHILE RUNNING FreeDOS.

Syntax:

BREAK=[ON | OFF]

Options:

ON CTRL+C (STRG+C) is also tested while an access to diskette or HD. OFF CTRL+C (STRG+C) is only tested if there is an output on the screen. Default=OFF

Comments:

Type "BREAK" without a parameter to display the current BREAK setting. If BREAK is ON, programs and commands can always be aborted by typing CTRL+C (STRG+C). If BREAK is OFF, programs and commands can only be aborted if you get an output on the screen. BREAK can be used in CONFIG.SYS / FDCONFIG.SYS but it is also a COMMAND.COM command. BREAK is a command internal to kernel.sys and needs no other file in order to work.

Examples:

IN CONFIG.SYS / FDCONFIG.SYS: break=on programs can be aborted by CTRL+C (STRG+C) break=off programs cannot be aborted by CTRL+C (STRG+C)

See also:

break command.com config.sys fdconfig.sys ------------------------------------------------------------------------------ Copyright (C) 2008 W. Spiegl. This file is derived from the FreeDOS Spec Command HOWTO. See the file H2Cpying for copying conditions.