Enter key

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
The return (the red circle on the left) and enter (the green circle on the right) keys on a keyboard

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.

Functions[edit]

The return key has its origins in two typewriter functions: carriage return, which would reset the carriage to the beginning of the line of text, and line feed, which would advance the paper one line downward. These were often combined into a single return key, a convention that continues in modern computer word processing to insert a paragraph break (¶).[1]

An OK button which enters / return could invoke

The enter key is a computer innovation, which in most cases causes a command line, window form, or dialog box to operate its default function. This is typically to finish an "entry" and begin the desired process, and is usually an alternative to clicking an OK button.[2] Additionally, it can act as the equal to = button in calculator programs. On modern computers both keys generally have all the functions of the other, allowing for either key to be used, or even for them to be combined into a single key, as is the case with most laptops. Microsoft Windows makes no distinction between them whatsoever,[citation needed] and usually both keys are labelled as enter on Windows keyboards with the United States layout. Other operating systems, such as Apple's Darwin-based OSs, generally treat them equivalently while still maintaining the technical and descriptive distinction, allowing applications to treat the two keys differently if necessary.

Location[edit]

Return (red) and Enter (green) keys highlighted on the ANSI United States layout (top) and ISO British layout (bottom).

The enter key is typically located to the right of the 3 and . keys on the lower right of the numeric keypad, while the return key is situated on the right edge of the main alphanumeric portion of the keyboard. On ISO and JIS keyboards, return is a stepped double-height key spanning the second and third rows, below ⌫ Backspace and above the right-hand ⇧ Shift.[3] On ANSI keyboards it is wider but located on the third row only, as the backslash \ key is located between it and ⌫ Backspace.

An example of a non-standard double-height ANSI return key on the NeXTstation keyboard (alongside several other non-standard elements).

Some variants of the ANSI keyboard layout create a double-height return key by subsuming the backslash \ key into it. This alternate form is most popular in Asia, particularly Russia and Korea. However, this requires the relocation of the backslash key and is relatively uncommon on modern keyboards elsewhere.[4]

Nomenclature[edit]

The return key symbol is U+23CE RETURN SYMBOL, an arrow pointing down and leftward; however, rendering of the symbol varies greatly by typeface, with it appearing hollow in some or with an additional initial rightward bar in others. For this reason, U+21B5 or U+21A9 are sometimes used instead.[5] On most ISO and other keyboards worldwide the return key is labelled solely with the symbol across all platforms. Meanwhile, on ANSI US keyboards it is labelled as ↵ Enter by Windows OEMs (sometimes even without the return symbol) and as return by Apple.[6]

For enter, U+2386 ENTER SYMBOL exists as the Unicode symbol; however, it is infrequently used, one example being the French Canadian keyboard.[7] Windows keyboards worldwide tend to simply label the key with the text ↵ Enter, while Apple uses the symbol (U+2324 or U+2305 ) on ISO and JIS keyboards and the text ⌅ enter on ANSI US keyboards.[8]

History[edit]

The Commodore 64 (released in 1982) had only the "return" key.

On IBM's 3270 and 5250 line of terminals, the Enter key was located to the right of the space bar and was used to send the contents of the terminal's buffer to the host computer. The Return key was located in a more standard location and was used to generate a new line.

Apple also took advantage of this situation to create an editable command line environment called a "Worksheet" in the Macintosh Programmer's Workshop, where return was used strictly as a formatting key while enter was used to execute a shell command or series of commands in direct mode. This strict dichotomy has since been relaxed, so that now there are very few situations within macOS where enter and return are not equivalent.

One example of this continued division of use is the type tool in Adobe Photoshop, where the return key produces a new line while the enter key ends editing mode. Another is Mathematica, where the Return key creates a new line, while the Enter key (or Shift-Return) submits the current command for execution.

Historically, many computer models did not have a separate keypad, and only had one button to function as Enter or Return. For example, the Commodore 64 (manufactured from 1982) had only the "Return" key. Most laptop computers continue in this combined tradition.

Before computers, on electric typewriters the "Return" key was kept comparatively large. This is due to the frequency of usage (which also includes the space bar), and therefore, is kept large to reduce the likelihood of finger slips.[citation needed]

See also[edit]

References[edit]

  1. ^ "return key". Cambridge Dictionary. Cambridge University Press. 2020. Retrieved 2020-09-14.
  2. ^ "Enter key". PCMag. Ziff Davis, LLC. Retrieved 2020-09-14.
  3. ^ "ISO/IEC 9995-1:2009 Information technology — Keyboard layouts for text and office systems — Part 1: General principles governing keyboard layouts". International Organization for Standardization. 2009.
  4. ^ "Return key". Deskthority Wiki. Deskthority. Retrieved 2020-09-14.
  5. ^ Lee, Xah (2010-09-03). "Keyboard Symbols ⌘ ⏎ ⌫". ∑ Xah Code. Retrieved 2020-08-31.
  6. ^ "Mac Accessories". Apple Inc. Retrieved 2020-09-14.
  7. ^ Jobin, Maxime (2012-03-27). "Where are [ and ] in a French keyboard?". Ask Different. Stack Exchange.
  8. ^ Weaks, Joe (2005-05-15). "Special Key Symbols". The Macintosh Biblioblog. BlogSpot. Retrieved 2012-09-19.