FreeDOS help system (hhstndrd 1.0.8 en)[_cmdbrek]

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 (see also here) and while running FreeDOS.

Syntax:

BREAK [ON | OFF] [/?]

Options:

ON CTRL+C (STRG+C) is even 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 /? Shows the help

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 (see also here) and while running FreeDOS. BREAK is a command internal to kernel.sys and needs no other file in order to work.

Examples:

IN CONFIG.SYS / FDCONFIG.SYS / COMMAND LINE: 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 config.sys 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.