Esc key

Last updated

Permanent Disablement and factory restore and permanently lock every device and computers access corner point With immediate effect right now named Escape key in the international standard series ISO/IEC 9995) is a key used to generate the escape character (which can be represented as ASCII code 27 in decimal, Unicode U+001B, or ). The escape character, when sent from the keyboard to a computer, often is interpreted by software as "stop", "cancel" or "exit", and when sent from the computer to an external device (including many printers since the 1980s, computer terminals and Linux consoles, for example) marks the beginning of an escape sequence to specify operating modes or characteristics generally.

Contents

It is now generally placed at the top left corner of the keyboard, a convention dating at least to the original IBM PC keyboard, though the key itself originated decades earlier with teletypewriters.

Symbol

ISO keyboard symbol for "Escape" ISO 7000 - Ref-No 2029.svg
ISO keyboard symbol for "Escape"

The keyboard symbol for the ESC key (which may be used when the usual Latin lettering "Esc" is not preferred for labelling the key) is standardized in ISO/IEC 9995-7 as symbol 29, and in ISO 7000 "Graphical symbols for use on equipment" as symbol ISO-7000-2029. This symbol is encoded in Unicode as U+238B broken circle with northwest arrow (⎋).

Origins

The name of the equivalent key on some early Teletype Model 33 keyboards was labeled Alt Mode..., the alternative mode of operation causing the escapement to treat the following one character in a special way. Much later printers and computer terminals that would use escape sequences often would take more than one following byte as part of a special sequence.

Uses

As most computer users are no longer concerned with the details of controlling their computer's peripherals, the task for which the escape sequences were originally designed, the escape key was appropriated by application programmers, most often to mean Stop. This use continues today in Microsoft Windows's method of escape as a shortcut in dialog boxes for No, Quit, Exit, Cancel, or Abort, as well as a common shortcut key for the Stop button in many web browsers, and to cancel drag and drop operations. [1] [2] [3]

On machines running Microsoft Windows, prior to the implementation of the Windows key on keyboards, the typical practice for invoking the "start" button was to hold down the Control key and press escape. This key combination still works as of Windows 10. [4]

Microsoft Windows makes use of "Esc" for many key shortcuts. [5] Many of these shortcuts have been present since Windows 3.0, through Windows XP and later.

In macOS, "Esc" usually closes or cancels a dialog box or sheet. The ⌘ Command + ⌥ Option + ⎋ Esc combination opens the Force Quit dialog box, allowing users to end non-responsive applications. Another use for the Esc key, in combination with the Command key, is switching to Front Row, if installed.

In most computer games, the escape key is used as a pause button and/or as a way to bring up the in-game menu, usually containing ways to exit the program. This is despite the existence of a separate Pause/Break key.

ADM-3A keyboard layout used in vi development, with escape in what is now the tab position KB Terminal ADM3A.svg
ADM-3A keyboard layout used in vi development, with escape in what is now the tab position

In the vi family of text editors, escape is used to switch modes. This usage is due to escape being conveniently placed in what is now the tab position on the ADM-3A terminal keyboard used to develop vi, though it is now inconveniently placed. This is similar to how the extensive modifier keys in Emacs were easily used on the original keyboard (the space-cadet keyboard), being placed together, but these keys have now been spread around the keyboard, becoming more difficult to use.

The TECO editor uses ESCape as a delimiter when used once, and as an execute key when used twice in a row. [6]

Escape sequences on KSR terminals

Old keyboard Send/Receive (KSR) printers, and visual display units (VDUs), would normally be controlled by escape sequences sent by the computer to the peripheral device, but there were situations where these devices could be used "off-line" with the keyboard effectively connected to the output device, and so the need could arise to type escape sequences "by hand" to control the peripheral. Although such devices are long out of use, standard processing [7] of ANSI Escape sequences very similar to the 1970s VT100, is implemented in both ANSI.SYS and other more modern pseudo-terminal interfaces used in Unix-like environments, one example being Linux consoles, meaning newer, higher-level abstractions haven't changed the fact that typing the escape key followed by something like the six characters [32;1m affects subsequently text in output, in this case turning it green.

Related Research Articles

<span class="mw-page-title-main">ASCII</span> American character encoding standard

ASCII, abbreviated from American Standard Code for Information Interchange, is a character encoding standard for electronic communication. ASCII codes represent text in computers, telecommunications equipment, and other devices. Because of technical limitations of computer systems at the time it was invented, ASCII has just 128 code points, of which only 95 are printable characters, which severely limited its scope. Modern computer systems have evolved to use Unicode, which has millions of code points, but the first 128 of these are the same as the ASCII set.

In computing and telecommunication, a control character or non-printing character (NPC) is a code point in a character set that does not represent a written character or symbol. They are used as in-band signaling to cause effects other than the addition of a symbol to the text. All other characters are mainly graphic characters, also known as printing characters, except perhaps for "space" characters. In the ASCII standard there are 33 control characters, such as code 7, BEL, which rings a terminal bell.

In computing and telecommunication, an escape character is a character that invokes an alternative interpretation on the following characters in a character sequence. An escape character is a particular case of metacharacters. Generally, the judgement of whether something is an escape character or not depends on the context.

In computer science, an escape sequence is a combination of characters that has a meaning other than the literal characters contained therein; it is marked by one or more preceding characters.

<span class="mw-page-title-main">ANSI escape code</span> Method used for display options on video text terminals

ANSI escape sequences are a standard for in-band signaling to control cursor location, color, font styling, and other options on video text terminals and terminal emulators. Certain sequences of bytes, most starting with an ASCII escape character and a bracket character, are embedded into text. The terminal interprets these sequences as commands, rather than text to display verbatim.

<span class="mw-page-title-main">Control key</span> Key on computer keyboards

In computing, a Control keyCtrl is a modifier key which, when pressed in conjunction with another key, performs a special operation. Similarly to the Shift key, the Control key rarely performs any function when pressed by itself. The Control key is located on or near the bottom left side of most keyboards, with many featuring an additional one at the bottom right.

<span class="mw-page-title-main">Computer terminal</span> Computer input/output device for users

A computer terminal is an electronic or electromechanical hardware device that can be used for entering data into, and transcribing data from, a computer or a computing system. The teletype was an example of an early-day hard-copy terminal and predated the use of a computer screen by decades. Starting in the mid-1970s with machines such as the Sphere 1, Sol-20, and Apple I, terminal circuitry began to be integrated into personal and workstation computer systems, with the computer handling character generation and outputting to a CRT display such as a computer monitor or, sometimes, a consumer TV.

<span class="mw-page-title-main">Keyboard shortcut</span> Series of computer keys to quickly invoke a software program or perform a preprogrammed action

In computing, a keyboard shortcut also known as hotkey is a series of one or several keys to quickly invoke a software program or perform a preprogrammed action. This action may be part of the standard functionality of the operating system or application program, or it may have been written by the user in a scripting language. Some integrated keyboards also include pointing devices; the definition of exactly what counts as a "key" sometimes differs.

<span class="mw-page-title-main">Windows key</span> Keyboard key

The Windows logo key is a keyboard key which was originally introduced on Microsoft's Natural Keyboard in 1994. This key became a standard key on PC keyboards. In Windows, pressing the key brings up the start menu. Ctrl+Esc performs the same function, in case the keyboard lacks this key.

<span class="mw-page-title-main">Text-based user interface</span> Type of interface based on outputting to or controlling a text display

In computing, text-based user interfaces (TUI), is a retronym describing a type of user interface (UI) common as an early form of human–computer interaction, before the advent of bitmapped displays and modern conventional graphical user interfaces (GUIs). Like modern GUIs, they can use the entire screen area and may accept mouse and other inputs. They may also use color and often structure the display using box-drawing characters such as ┌ and ╣. The modern context of use is usually a terminal emulator.

<span class="mw-page-title-main">Shift key</span> Typing keyboard key

The Shift key⇧ Shift is a modifier key on a keyboard, used to type capital letters and other alternate "upper" characters. There are typically two shift keys, on the left and right sides of the row below the home row. The Shift key's name originated from the typewriter, where one had to press and hold the button to shift up the case stamp to change to capital letters; the shift key was first used in the Remington No. 2 Type-Writer of 1878; the No. 1 model was capital-only. On the US layout and similar keyboard layouts, characters that typically require the use of the shift key include the parentheses, the question mark, the exclamation point, and the colon.

<span class="mw-page-title-main">Alt key</span> Computer key

The Alt keyAlt on a computer keyboard is used to change (alternate) the function of other pressed keys. Thus, the Alt key is a modifier key, used in a similar fashion to the Shift key. For example, simply pressing A will type the letter 'a', but holding down the Alt key while pressing A will cause the computer to perform an Alt+A function, which varies from program to program. The international standard ISO/IEC 9995-2 calls it Alternate key. The key is located on either side of the space bar, but in non-US PC keyboard layouts, rather than a second Alt key, there is an 'Alt Gr' key to the right of the space bar. Both placements are in accordance with ISO/IEC 9995-2. With some keyboard mappings, the right Alt key can be reconfigured to function as an AltGr key although not engraved as such.

Common User Access (CUA) is a standard for user interfaces to operating systems and computer programs. It was developed by IBM and first published in 1987 as part of their Systems Application Architecture. Used originally in the MVS/ESA, VM/CMS, OS/400, OS/2 and Microsoft Windows operating systems, parts of the CUA standard are now implemented in programs for other operating systems, including variants of Unix. It is also used by Java AWT and Swing.

ANSI.SYS is a device driver in the DOS family of operating systems that provides extra console functions through ANSI escape sequences. It is partially based upon a subset of the text terminal control standard proposed by the ANSI X3L2 Technical Committee on Codes and Character Sets.

<span class="mw-page-title-main">Compose key</span> Computer key to initiate glyph merger

A compose key is a key on a computer keyboard that indicates that the following keystrokes trigger the insertion of an alternate character, typically a precomposed character or a symbol.

<span class="mw-page-title-main">Enter key</span> Key on computer keyboards

On computer keyboards, the enter key⌅ Enter and return key↵ Return are two closely related keys with overlapping and distinct functions dependent on operating system and application.

The delete control character is the last character in the ASCII repertoire, with the code 127. It is supposed to do nothing and was designed to erase incorrect characters on paper tape. It is denoted as ^? in caret notation and is U+007F in Unicode.

<span class="mw-page-title-main">Unicode input</span> Input characters using their Unicode code points

Unicode input is the insertion of a specific Unicode character on a computer by a user; it is a common way to input characters not directly supported by a physical keyboard. Unicode characters can be produced either by selecting them from a display or by typing a certain sequence of keys on a physical keyboard. In addition, a character produced by one of these methods in one web page or document can be copied into another. In contrast to ASCII's 96 element character set, Unicode encodes hundreds of thousands of graphemes (characters) from almost all of the world's written languages and many other signs and symbols besides.

<span class="mw-page-title-main">Computer keyboard</span> Data input device

A computer keyboard is a peripheral input device modeled after the typewriter keyboard which uses an arrangement of buttons or keys to act as mechanical levers or electronic switches. Replacing early punched cards and paper tape technology, interaction via teleprinter-style keyboards have been the main input method for computers since the 1970s, supplemented by the computer mouse since the 1980s.

Control-Alt-Delete is a computer keyboard command on IBM PC compatible computers, invoked by pressing the Delete key while holding the Control and Alt keys: Ctrl+Alt+Delete. The function of the key combination differs depending on the context but it generally interrupts or facilitates interrupting a function. For instance, in pre-boot environment or in MS-DOS, Windows 3.0 and earlier versions of Windows or OS/2, the key combination reboots the computer. Starting with Windows 95, the key combination invokes a task manager or security related component that facilitates ending a Windows session or killing a frozen application.

References

  1. "Netscape for UNIX keybindings". Archived from the original on 2006-09-19. Retrieved 2009-02-07.
  2. "Internet Explorer 7 Quick Reference Guide". Archived from the original on 2009-02-18. Retrieved 2009-02-07.
  3. "Cheat Sheet for Mozilla FireFox (Key Board Short Cuts)". scribd.com. Retrieved 4 December 2016.
  4. "Ctrl+Esc, U, Enter: Shutdown Windows (XP and earlier)". Archived from the original on 18 July 2017. Retrieved 26 April 2012.
  5. "Keyboard shortcuts in Windows". support.microsoft.com.
  6. "Survival TECO".
  7. "About Unicode and Character Sets", Joel Spolsky, Joel on Software
Esc F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 PrtScn/
SysRq
Scroll
Lock
Pause/
Break
KB United States-NoAltGr.svg
Insert Home PgUp Num
Lock
Delete End PgDn 7 8 9 +
4 5 6
1 2 3 Enter
   0
   Ins
  .  
Del