Break key

related topics
{system, computer, user}
{math, number, function}
{@card@, make, design}

The origins of the break key on a computer keyboard go back to telegraph practices. A standard telegraph key has a built-in knife switch that can be used to short the key's contacts. When the key was not in use, that switch was kept closed, so that a signal was continually sent. If that steady-state signal was interrupted, it indicated one of two things: either the operator was about to start transmitting, or something else had happened to break the connection — such as a physical break in the telegraph line.

As the teletype came into use, a key was created that would temporarily interrupt the communications line, allowing this practice to continue. When this occurred, the receiving teletype mechanism would activate but not print characters (it was typing the non-printing DEL character repeatedly). The noise got the operator's attention.

Time-sharing computers connected to modems could recognize the break because the DEL characters received had "bad parity." This was used to generate an interrupt, allow login, or stop a running program.

On personal computers, the Break key can be used by software in several different ways, such as to switch between multiple login sessions, to terminate a program, or to interrupt a modem connection. On a BBC Micro computer, the Break key generates an interrupt which would normally cause a warm restart of the computer. A cold restart is triggered by typing Ctrl+break. If a DFS ROM is installed, Shift+break will cause the computer to search for and load a file called !boot on the floppy disk in drive 0.

On the Sinclair ZX80 and ZX81 computers, the Break is accessed by pressing Space. On the Sinclair ZX Spectrum it is accessed by Shift and Space. The Spectrum+ and later computers have a dedicated Break key. It does not trigger an interrupt but will halt any running BASIC program, or terminate the loading or saving of data to cassette tape. An interrupted BASIC program can usually be resumed with the CONTINUE command. The Sinclair QL computer, without a break key, maps the function to Ctrl+Space. On many modern PCs, Pause interrupts screen output by BIOS until another key is pressed. This is effective during boot in text mode and in a DOS box in Windows safe mode with 50 lines. On early keyboards without a Pause key (before the introduction of 101-key keyboards) the Pause function was assigned to Ctrl+NumLock, and the Break function to Ctrl+ScrLock; these key-combinations still work with most programs, even on modern PCs with modern keyboards. Pressing the dedicated Pause key on 101-key keyboards sends the same scancodes as pressing Ctrl, then NumLock, then releasing them in the reverse order would do; additionally, an e1hex prefix is sent which enables 101-key aware software to discern the two situations, while older software usually just ignores the prefix. The Pause key is different from all other keys in that it sends no scancodes at all on release; therefore it is not possible for any software to determine whether this key is being held down.[citation needed]

On modern keyboards, the break key is usually labeled Pause/Break. In most Windows environments, the key combination Windows key+Pause brings up the system properties. Compact and notebook keyboards often have the Pause/Break key mapped to a function command: for example Ctrl+Fn+F11.

Usage for breaking the program's execution

Full article ▸

related documents
Very-large-scale integration
Motorola 68020
Real-time operating system
Apple IIe Card
Audio signal processing
Digital image processing
Intel 80286
Telephony Application Programming Interface
S-100 bus
Chaffing and winnowing
Cambridge Z88
Composite video
Capacitive coupling
Channel access method
Direct-sequence spread spectrum
Motorola 6809
Picture archiving and communication system
Web service
Open Systems Interconnection
Web browser
Asynchronous communication
RAM disk