Break Key
   HOME

TheInfoList



OR:

The Break key (or the symbol ) of a
computer keyboard A computer keyboard is a built-in or peripheral input device modeled after the typewriter keyboard which uses an arrangement of buttons or Push-button, keys to act as Mechanical keyboard, mechanical levers or Electronic switching system, electro ...
refers to breaking a
telegraph Telegraphy is the long-distance transmission of messages where the sender uses symbolic codes, known to the recipient, rather than a physical exchange of an object bearing the message. Thus flag semaphore is a method of telegraphy, whereas ...
circuit and originated with 19th century practice. In modern usage, the key has no well-defined purpose, but while this is the case, it can be used by software for miscellaneous tasks, such as to switch between multiple login sessions, to terminate a program, or to interrupt a modem connection. Because the break function is usually combined with the pause function on one key since the introduction of the
IBM Model M Model M keyboards are a group of computer keyboards designed and manufactured by IBM starting in 1985, and later by Lexmark, Lexmark International, Maxi Switch, and Unicomp. The keyboard's different variations have their own distinct charac ...
101-key keyboard in 1985, the Break key is also called the Pause key. It can be used to pause some
computer game A video game or computer game is an electronic game that involves interaction with a user interface or input device (such as a joystick, controller, keyboard, or motion sensing device) to generate visual feedback from a display device, mo ...
s.


History

A standard telegraph circuit connects all the keys, sounders and batteries in a single series loop. Thus the sounders actuate only when both keys are down (closed, also known as " marking" — after the ink marks made on paper tape by early printing telegraphs). So the receiving operator has to hold their key down or close a built-in shorting switch in order to let the other operator send. As a consequence, the receiving operator could interrupt the sending operator by opening their key, breaking the circuit and forcing it into a " spacing" condition. Both sounders stop responding to the sender's keying, alerting the sender (a physical break in the telegraph line would have the same effect). The
teleprinter A teleprinter (teletypewriter, teletype or TTY) is an electromechanical device that can be used to send and receive typed messages through various communications channels, in both point-to-point (telecommunications), point-to-point and point- ...
operated in a very similar fashion except that the sending station kept the loop closed (logic 1, or "marking") even during short pauses between characters. Holding down a special "break" key opened the loop, forcing it into a continuous logic 0, or "spacing", condition. When this occurred, the teleprinter mechanisms continually actuated without printing anything, as the all-0s character is the non-printing ''NUL'' in both Baudot and
ASCII ASCII ( ), an acronym for American Standard Code for Information Interchange, is a character encoding standard for representing a particular set of 95 (English language focused) printable character, printable and 33 control character, control c ...
. The resulting noise got the sending operator's attention. This practice carried over to teleprinter use as a terminal on
time-sharing In computing, time-sharing is the Concurrency (computer science), concurrent sharing of a computing resource among many tasks or users by giving each Process (computing), task or User (computing), user a small slice of CPU time, processing time. ...
computers. A continuous spacing (logical 0) condition violates the rule that every valid character has to end with one or more logic 1 (marking) "stop" bits. The computer (specifically the
UART A universal asynchronous receiver-transmitter (UART ) is a peripheral device for asynchronous serial communication in which the data format and transmission speeds are configurable. It sends data bits one by one, from the least significant to ...
) recognized this as a special "break" condition and generated an
interrupt In digital computers, an interrupt (sometimes referred to as a trap) is a request for the processor to ''interrupt'' currently executing code (when permitted), so that the event can be processed in a timely manner. If the request is accepted ...
that typically stopped a running program or forced the operating system to prompt for a login. Similarly to teleprinters, video terminals kept the key which put transmission line to zero state. With its function of interrupting terminal communication, the key was adopted by software terminal emulators and in applications which use serial protocols such as
RS-232 In telecommunications, RS-232 or Recommended Standard 232 is a standard introduced in 1960 for serial communication transmission of data. It formally defines signals connecting between a ''DTE'' (''data terminal equipment'') such as a compu ...
. This concept of interruption also extends to the boot process of computers, network devices and to halting operations in computer applications like command-line interfaces, debuggers and spreadsheets.


Sinclair

On the
ZX80 The Sinclair ZX80 is a home computer launched on 29 January 1980 by Science of Cambridge Ltd. (later to be better known as Sinclair Research). It is notable for being one of the first computers available in the United Kingdom for less than a hu ...
and
ZX81 The ZX81 is a home computer that was produced by Sinclair Research and manufactured in Dundee, Scotland, by Timex Corporation. It was launched in the United Kingdom in March 1981 as the successor to Sinclair's ZX80 and designed to be a low-c ...
computers, the Break is accessed by pressing . On the
ZX Spectrum The ZX Spectrum () is an 8-bit computing, 8-bit home computer developed and marketed by Sinclair Research. One of the most influential computers ever made and one of the all-time bestselling British computers, over five million units were sold. ...
it is accessed by . The Spectrum+ and later computers have a dedicated 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 The Sinclair QL (for ''Quantum Leap'') is a personal computer launched by Sinclair Research in 1984, as an upper-end counterpart to the ZX Spectrum. The QL was the last desktop microcomputer from Sinclair Research aimed at the serious home use ...
computer, without a key, maps the function to .


BBC Micro

On a
BBC Micro The BBC Microcomputer System, or BBC Micro, is a family of microcomputers developed and manufactured by Acorn Computers in the early 1980s as part of the BBC's Computer Literacy Project. Launched in December 1981, it was showcased across severa ...
computer, the key generates a hardware reset which would normally cause a warm restart of the computer. A cold restart is triggered by pressing . If a filing system is installed, will cause the computer to search for and load or run a file called !Boot on the filing system's default device (e.g. floppy disk 0, network user BOOT). The latter two behaviours were inherited by the successor to
Acorn MOS The Machine Operating System (MOS) or OS is a discontinued computer operating system (OS) used in Acorn Computers' BBC computer range. It included support for four-channel sound, graphics, file system abstraction, and digital and analogue inp ...
,
RISC OS RISC OS () is an operating system designed to run on ARM architecture, ARM computers. Originally designed in 1987 by Acorn Computers of England, it was made for use in its new line of ARM-based Acorn Archimedes, Archimedes personal computers an ...
. These behaviours could be changed or exchanged in software, and were often used in rudimentary
anti-piracy Anti-piracy may refer to: * Anti-piracy measures Piracy is an act of robbery or criminal violence by ship or boat-borne attackers upon another ship or a coastal area, typically with the goal of stealing cargo and valuable goods, or taking ...
techniques. Because of the BBC Micro's near universal usage in British schools, later versions of the machine incorporated a physical lock on the Break key to stop children from intentionally resetting the computer.


Modern keyboards

On many modern PCs, interrupts screen output by
BIOS In computing, BIOS (, ; Basic Input/Output System, also known as the System BIOS, ROM BIOS, BIOS ROM or PC BIOS) is a type of firmware used to provide runtime services for operating systems and programs and to perform hardware initialization d ...
until another key is pressed. This is effective during
boot A boot is a type of footwear. Most boots mainly cover the foot and the ankle, while some also cover some part of the lower calf. Some boots extend up the leg, sometimes as far as the knee or even the hip. Most boots have a heel that is clearl ...
in
text mode Text mode is a computer display mode in which content is internally represented on a computer screen in terms of characters rather than individual pixels. Typically, the screen consists of a uniform rectangular grid of ''character cells'', ea ...
and in a
DOS DOS (, ) is a family of disk-based operating systems for IBM PC compatible computers. The DOS family primarily consists of IBM PC DOS and a rebranded version, Microsoft's MS-DOS, both of which were introduced in 1981. Later compatible syste ...
box in
Windows Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
safe mode with 50 lines. On early keyboards without a key (before the introduction of 101/102-key keyboards) the Pause function was assigned to , and the Break function to ; these key-combinations still work with most programs, even on modern PCs with modern keyboards. Pressing the dedicated key on 101/102-key keyboards sends the same
scancode A scancode (or scan code) is the data that most computer keyboards send to a computer to report which keys have been pressed. A number, or sequence of numbers, is assigned to each key on the keyboard. Variants Mapping key positions by row an ...
s as pressing , then , then releasing them in the reverse order would do; additionally, an E1hex prefix is sent, which enables 101/102-key-aware software to discern the two situations, while older software usually just ignores the prefix. The key is different from all other keys in that it sends no scancodes at all on release in PS/2 modes 1 or 2, so it is impossible to determine whether this key is being held down with older devices. Also, it's not "typematic", that is, unlike the other keys, it doesn't send repeat scancodes while being held. In PS/2 mode 3 or USB HID mode, there is a release scancode, so it is possible to determine whether this key is being held down on modern computers. On modern keyboards, the key is usually labeled ''Pause'' with ''Break'' below, sometimes separated by a line: , or ''Pause'' on the top of the keycap and ''Break'' on the front, or only ''Pause'' without ''Break'' at all. Keyboards with
ISO/IEC 9995 ISO/IEC 9995 ''Information technology — Keyboard layouts for text and office systems'' is an International Organization for Standardization, ISO/International Electrotechnical Commission, IEC standard series defining keyboard layout, layout prin ...
-7 markings including Canadian
CSA keyboard The CSA keyboard, or CAN/CSA Z243.200-92, is the official keyboard layout of Canada. Often referred to as ACNOR, it is best known for its use in the Canadian computer industry for the French ACNOR keyboard layout, published as CAN/CSA Z243.200 ...
use symbol for ''Break'' and for ''Pause''. In most Windows environments, the key combination brings up the system properties.


Keyboards without Break key

Compact and notebook keyboards often do not have a dedicated key. Substitutes for : * or or on certain
Lenovo Lenovo Group Limited, trading as Lenovo ( , zh, c=联想, p=Liánxiǎng), is a Chinese multinational technology company specializing in designing, manufacturing, and marketing consumer electronics, personal computers, software, servers, conv ...
laptops. * or on certain Dell laptops. * on some other Dell laptops. * on Samsung. * on certain HP laptops. * on certain HP laptops. * on certain Logitech (LOGI) keyboards. Substitutes for : * or or on certain Lenovo laptops. * on certain Dell laptops. * on certain HP laptops. * on certain HP laptops. For some Dell laptops, without a key, press the and select "Interrupt".


Usage for breaking the program's execution

While both and combination are commonly implemented as a way of breaking the execution of a console application, they are also used for similar effect in
integrated development environment An integrated development environment (IDE) is a Application software, software application that provides comprehensive facilities for software development. An IDE normally consists of at least a source-code editor, build automation tools, an ...
s. Although these two are often considered interchangeable, compilers and execution environments usually assign different signals to these. Additionally, in some kernels (e.g. miscellaneous DOS variants) is detected only at the time OS tries reading from a keyboard buffer and only if it's the only key sequence in the buffer, while is often translated instantly (e.g. by INT 1Bh under DOS). Because of this, is usually a more effective choice under these operating systems; sensitivity for these two combinations can be enhanced by the BREAK=ON CONFIG.SYS statement.


See also

*
System request System Request (SysRq or Sys Req) is a key on IBM PC compatible, personal computer Computer keyboard, keyboards that has no standard use. Introduced by IBM with the IBM Personal Computer/AT, PC/AT, it was intended to be available as a special key ...
* Scroll lock *
Num lock Num Lock or Number Lock (⇭) is a key on the numeric keypad of most computer keyboards. It is a lock key, like Caps Lock and Scroll Lock. Its state affects the function of the numeric keypad commonly located to the right of the main keyboard ...


References


External links

* {{DEFAULTSORT:Break Key Computer keys Out-of-band management