Control key

In computing, a Control key Ctrl is a modifier key which, when pressed in conjunction with another key, performs a special operation (for example, Ctrl+C); similar 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 (in accordance with the international standard ISO/IEC 9995-2), with many featuring an additional one at the bottom right.

A Control key (marked "Ctrl") on a Windows keyboard next to one style of a Windows key, followed in turn by an Alt key
ISO keyboard symbol for “Control”

On keyboards that use English abbreviations for key labeling, it is usually labeled Ctrl (rarely, Control or Ctl is seen). Abbreviations in the language of the keyboard layout also are in use. e.g. the German keyboard layout uses Strg as required by the German standard DIN 2137:2012-06. Also, there is a standardized keyboard symbol (to be used when Latin lettering is not preferred), given in ISO/IEC 9995-7 as symbol 26, and in ISO 7000 “Graphical symbols for use on equipment” as symbol ISO-7000-2028. This symbol is encoded in Unicode as U+2388 helm symbol (⎈).

History

On teletypewriters and early keyboards, holding down the Control key while pressing another key zeroed the leftmost two bits of the seven bits in the generated ASCII character. This allowed the operator to produce the first 32 characters in the ASCII table. These are non-printing characters that signal the computer to control where the next character will be placed on the display device, eject a printed page or erase the screen, ring the terminal bell, or some other operation. For example, the character or "G", whose ASCII code is 71 in base 10, or 100 0111 in binary, would be transformed into the binary code 000 0111 (7 in decimal), which is assigned to the bell character. Aptly, these characters are also called control characters.

Using the Ctrl key with either lowercase letters (e.g. C, ASCII code 100 0011) or uppercase letters (⇧ Shift+C, ASCII 110 0011) will generate the same ASCII code on a teletypewriter, because holding down the control key grounds (zeros the voltage on) the two wires used to carry the leftmost two bits from the keyboard, ignoring their modification by the ⇧ Shift key. In modern computers, the interpretation of keypresses is generally left to the software. Modern keyboards distinguish each physical key from every other and report all keypresses and releases to the controlling software.

When the original purpose of the ASCII control characters became either obsolete or seldom used, later software appropriated the Control key combinations for other purposes.

Location

The keyboards of many early computer terminals, including the Teletype Model 33 ASR and Lear-Siegler ADM-3A, and early models of the IBM PC, positioned the Control key on the left of the keyboard, whereas caps lock resides in the same position on most modern keyboards. The traditional layout was preserved for later workstation systems and is often associated with Unix workstations. Keyboards from Sun Microsystems came in two layouts; "Unix" and "PC-style", with the Unix layout having the traditional placing of the Control key and other keys.[1] The keyboards produced for One Laptop Per Child computers also have the Control key in this location.[2] Other vendors produce keyboards for different computer systems with this placement of the Control key, such as the Happy Hacking Keyboard.

Some users of keyboards with caps lock on the left remap the keys to exchange Control and caps lock, finding the traditional location more ergonomic for using programs benefiting from use of the Control key. Keyboard layout preferences specifically to address this need are available in some operating systems.

Others leave the control key in the lower-left corner of the keyboard, and press it using the side of their palm. The choice of location for the control key often comes down to the typist's hand shape and posture.

Notation

There are several common notations for pressing the Control key in conjunction with another key. Each notation below means press and hold Ctrl while pressing the X key:

^XTraditional caret notation
C-xEmacs and Vim notation
CTRL-XOld Microsoft notation
Ctrl+XCurrent Microsoft notation
Ctrl/XOpenVMS notation
⌃XClassic Mac OS and macOS notation, used in menus and Sticky Keys (similar to caret notation, but using U+2303 UP ARROWHEAD instead of a caret)[3]
Control–XClassic Mac OS and macOS notation, used in prose[4]
CNTL/XCisco IOS notation
|XBar notation

Table of examples

Different application programs, user interfaces, and operating systems use the various control key combinations for different purposes.

Key combination Microsoft Windows/KDE/GNOME Unix (command line and programs using readline) Emacs (if different from Unix command line)

Ctrl+ASelect allBeginning of line

Ctrl+BBoldBackward one character

Ctrl+CCopyGenerate SIGINT (terminate program)Compound command

Ctrl+DFont window (word processing); Add to bookmarks (Browsers)Forward delete, or if line is empty, end of input (traditional Unix)Forward delete

Ctrl+ECenter alignment (word processing)End of line

Ctrl+FFind (usually a small piece of text in a larger document)Forward one character

Ctrl+GGo to (line number)BellQuit - aborts current operation

Ctrl+HReplace; HistoryDelete previous characterHelp key

Ctrl+IItalic; Incremental searchCommand-line completionSame as Tab key

Ctrl+JJustifyLine feed (LFD)LFD (to evaluate Lisp expressions)

Ctrl+KInsert hyperlink (word processing)Cut ("Kill") text between cursor and end of line

Ctrl+LCreate list; Left align (word processing)Clear screenRedraw window/terminal, and recenter view around current line

Ctrl+MIncrease margin by 1/2 inch (word processing)Same as Enter key

Ctrl+NNew (window, document, etc.)Next line (in history)Next line

Ctrl+OOpenFlush outputInsert ("open") new line

Ctrl+PPrintPrevious line (in history)Previous line

Ctrl+QQuit applicationResume transmissionLiteral insert

Ctrl+RRefresh page; Right align (word processing)Search backwards in historySearch backwards

Ctrl+SSavePause transmissionSearch forward

Ctrl+TOpen new tabTranspose characters

Ctrl+UUnderlineCut text between beginning of line and cursorPrefix numerical argument to next command

Ctrl+VPasteLiteral insertPage down

Ctrl+WClose window or tabCut previous wordCut

Ctrl+XCutCompound command

Ctrl+YRedoPaste

Ctrl+ZUndoSuspend programIconify window
Ctrl+⇧ Shift+ZRedoSame as Ctrl+Z
Ctrl+[Decrease font sizeSame as EscSame as Alt
Ctrl+]Increase font sizeSame as EscSame as Alt
Ctrl+=Toggle font subscriptSame as EscSame as Alt
Ctrl+⇧ Shift+=Toggle font superscriptSame as EscSame as Alt
Ctrl+EndBottom (end of document or window)undefined or rarely usedBottom (end of text buffer)
Ctrl+HomeTop (start of document or window)undefined or rarely usedTop (start of text buffer)
Ctrl+InsertCopyundefined or rarely usedCopy
Ctrl+PgDnNext tabundefined or rarely usedScroll window to the right
Ctrl+PgUpPrevious tabundefined or rarely usedScroll window to the left
Ctrl+Tab ↹Next window or tabundefined or rarely used
Ctrl+⇧ Shift+Tab ↹Previous window or tabundefined or rarely used
Ctrl++Grow Screenundefined or rarely used
Ctrl+-Shrink Screenundefined or rarely used
Ctrl+Previous wordundefined or rarely usedPrevious word
Ctrl+Next wordundefined or rarely usedNext word
Ctrl+DeleteDelete next wordundefined or rarely usedDelete next word
Ctrl+← BackspaceDelete previous wordundefined or rarely usedDelete previous word
Ctrl+Alt+← Backspaceundefined or rarely used on Windows; restart X11 on Unix-like desktopsundefined or rarely used
Ctrl+Alt+Rotate screen right-side upundefined or rarely used
Ctrl+Alt+Rotate screen upside downundefined or rarely used
Ctrl+Alt+Rotate screen leftundefined or rarely used
Ctrl+Alt+Rotate screen rightundefined or rarely used
Ctrl+⇧ Shift+EscOpen task managerunknownunknown
[[Control-Alt-Delete|Ctrl+Alt+Del]]Reboot; Open task manager or session optionsundefined or rarely used

In early first-person shooters, the left Ctrl key is often used to fire a weapon. In newer games, the key is often used for crouching instead.[5]

Similar concepts

Generally, the Command key, labeled with the ⌘ symbol on Apple Macintosh computers, performs the equivalent functions in classic Mac OS and macOS applications (for example, ⌘C copies, while ⌘P prints; the same holds for saving, cutting, and pasting).

Macintoshes also have a Control key, but it has different functionality. The original Apple mouse design reduced complexity by only offering one button. As the interface developed, Contextual Menus were offered to access extra options. Another button was needed to access these. On Unix and Windows, the user had other mouse buttons to use. On Classic Mac OS and macOS, the Control key is used to invoke a "right-click". Apple calls this a "secondary click" as left-handers can choose which side this button is on.

  • It is mostly used as a modifier key for key-combinations.
  • When pressing Control and clicking the mouse-button, you will get a contextual menu. This is a compatibility feature for users with one-button mice; users with two-button mice just use the right mouse-button, with no modifiers.
  • It is used in the command line interface with programs made for that interface.
  • In Quickbooks, the Control Key is used to validate login credentials during OLSU 1016 and OLSU 1013 errors. Keeping it depressed while sending information to the Quickbooks servers fixes the errors.
  • Under macOS, the Control key allows the use of Emacs-style key combinations in most text entry fields. For example, Ctrl-A moves the caret to the start of the paragraph, Ctrl-L vertically centers the current line in the editing field, Ctrl-K cuts text to the end of the line to a kill ring separate from the normal clipboard, etc.
gollark: https://wiki.haskell.org/Haskell_logos/New_logo_ideas
gollark: https://wiki.haskell.org/wikiupload/f/f3/UnsafeHaskell.png
gollark: It would compile *very* fast if it just smashed together the code and a C compiler.
gollark: Coming soon in WHY v2.
gollark: Ooh, that's a great idea. Bundle the C compiler with the C source code.

References

  1. Complex Text Layout Language Support in the Solaris Operating Environment docs.oracle.com/cd/E19455-01/806-5583/806-5583.pdf
  2. Don Marti (2006-10-27). "Doing it for the kids, man: Children's laptop inspires open source projects". Linux World. Retrieved 2010-06-11.
  3. "OS X Yosemite: What are those symbols shown in menus?". Apple Support. Apple Inc. Sep 23, 2015.
  4. "Mac keyboard shortcuts". Apple Support. Apple Inc. December 7, 2015. Retrieved December 28, 2015.
  5. http://pcgamer.com/anyone-who-uses-the-c-key-to-crouch-is-a-hopeless-degenerate

See also

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.