Home Page The Club Computers News Links Glossary EYAWTK
Before Amiga Background ICS OCS ECS AGA ??? PPC
U-Boot SLB Linux Amiga OS Dual Boot Motherboards Peripherals Other
Initialisation Installation OS4 Updates About OS4 File Systems Networking Printing Other
Introduction File System Workbench Preferences Commands Error Msgs Miscellaneous

AmigaOS 4.0 - About OS4 - Commands

BREAK AmigaDOS
Purpose: To set attention flags in the specified process.
Format: BREAK <process> NAME=<name> [ALL | C | D | E | F]
Template: PROCESS/A/N, NAME/K, ALL/S, C/S, D/S, E/S, F/S
Path: C:BREAK
BREAK sets the specified attention flags for the <process> or <name> specified. Use the STATUS command to display the current process numbers and names.

C sets the Ctrl+C flag, D sets the Ctrl+D flag, and so on. ALL sets all of the flags from Ctrl+C to Ctrl+F. By default, only the Ctrl+C flag is set.

The action of BREAK is identical to selecting the relevant process by clicking in its window and pressing the appropriate Ctrl+key combination(s).

Ctrl+C is used as the default for sending a BREAK signal to halt a process. A process that has been aborted this way will display ***BREAK in the Shell window.

Ctrl+D is used to halt execution of a script file.

Ctrl+E is currently undefined.

Ctrl+F is used by programs that open windows. Sending these programs a Ctrl+F signal will cause them to activate their window and bring it to the front of all windows. Not all programs respond to Ctrl+F.

Example 1:

3.OS4:> STATUS
Process  3: Loaded as command: status
Process  5: Loaded as command: execute
Process  6: Loaded as command: wait
Process  7: Loaded as command: find
3.OS4:> BREAK 7
sets the Ctrl+C attention flag for process 7. This is identical to selecting process 7 and pressing Ctrl+C.

Example 2:

3.OS4:> BREAK NAME=WAIT
sets the Ctrl+C attention flag for the 'wait' command (process 6). This is identical to selecting process 6 and pressing Ctrl+C.

Example 3:

3.OS4:> BREAK 5 D
sets the Ctrl+D attention flag for process 5.

See also: STATUS.


Return to Commands Selection

Disclaimer: Amiga Auckland have prepared the above information for the use of its members based on our experiences and as such is subject to revision at any time. Amiga Auckland cannot guarantee any of the information and cannot be held accountable for any issues that may result from using it.


Copyright 2006 Amiga Auckland Inc. All rights reserved.
Revised: February 9, 2006.