Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Control key
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Key on computer keyboards}} [[Image:Ctl wndws alt.jpg|thumb|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]]]] [[File:ISO 7000 - Ref-No 2028.svg|thumb|upright=0.6|The rarely used [[ISO keyboard]] symbol for "Control"]] In [[computing]], a '''Control key''' {{keypress|Ctrl}} is a [[modifier key]] which, when pressed in conjunction with another key, performs a special operation (for example, [[Control-C|{{keypress|Ctrl|C}}]]). 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 (in accordance with the international standard [[ISO/IEC 9995#ISO/IEC 9995-2|ISO/IEC 9995-2]]), with many featuring an additional one at the bottom right. On keyboards that use English abbreviations for key labeling, it is usually labeled {{keypress|Ctrl}} ({{keypress|Control}} or {{keypress|Ctl}} are sometimes used, but it is uncommon). Abbreviations in the language of the keyboard layout also are in use, e.g., the [[German keyboard layout]] uses {{keypress|Strg}} ({{wikt-lang|de|Steuerung}}) as required by the German standard [[DIN]] 2137:2012-06. There is a standardized keyboard symbol (to be used when Latin lettering is not preferred).{{efn|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 [[Miscellaneous Technical#Block|U+2388]] {{smallcaps|helm symbol}} {{keypress|β}}, but it is very rarely used. == History == {{See also|Control character#How control characters map to keyboards}} On [[teleprinter|teletypewriters]] and [[computer terminal]]s, holding down the Control key while pressing another key would send an [[ASCII]] [[C0_and_C1_control_codes|C0 control character]], instead of directly reporting a key press to the system. The control characters were used as non-printing characters that signal the terminal or teletypewriter to perform a special action, such as ringing a bell, ejecting a page or erasing the screen, or controlling where the next character will display. The first 32 ASCII characters are the control characters, representable by a 5-[[bit]] binary number. Because ASCII characters were represented as 7 bits, if a key is pressed while the Control key was held down, teletypewriters and terminals would simply set the first 2 bits of a character to 0, converting the character into a control character. For example, the character {{char|a}} has a binary ASCII code of <code>110 0001</code>. This code would be converted to <code>000 0001</code>, corresponding to the ASCII character with id 1 (the SOH Character). The table at {{section link|C0 and C1 control codes|C0 controls}} shows the ASCII control characters, with the "[[Caret notation]]" column showing a caret (^), followed by the character to press while the Control key is held down to generate the character. If a teletypewriter or terminal is connected to a computer, the software on the computer can interpret control characters it receives however it is written to do so; a given control character can be interpreted differently from how it would be interpreted by a teletypewriter or terminal that receives it. For example, [[Control-C]], received from a teletypewriter or terminal, is interpreted as "interrupt the current program" in some [[command-line interface]]s, and Control-E is interpreted by the [[Emacs]] text editor as "move the editor cursor to the end of the line". [[Computer keyboard]]s directly attached to a computer, as is the case for a [[personal computer]] or [[workstation]], distinguish each physical key from every other and report all keypresses and releases to the controlling software. This allows the software to interpret Control key combinations as it chooses, including being able to interpret a combination of the Control key, another [[modifier key]], and a letter, number, or symbol key differently from the way it interprets a combination of the Control key and the letter, number, or symbol key without that other modifier key. == Location == {{further|Caps lock#Placement}} The keyboards of many early [[computer terminal]]s, 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.<ref>Complex Text Layout Language Support in the Solaris Operating Environment docs.oracle.com/cd/E19455-01/806-5583/806-5583.pdf</ref> The keyboards produced for [[One Laptop Per Child]] computers also have the Control key in this location.<ref>{{cite web | url=http://www.linuxworld.com/news/2006/102706-childrens-laptops.html?page=3 | title=Doing it for the kids, man: Children's laptop inspires open source projects | publisher=Linux World | author=Don Marti | date=2006-10-27 | access-date=2010-06-11 | archive-date=2007-11-24 | archive-url=https://web.archive.org/web/20071124020308/http://www.linuxworld.com/news/2006/102706-childrens-laptops.html?page=3 | url-status=dead }}</ref> 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 {{keypress|Ctrl}} while pressing the {{keypress|X}} key: {| cellspacing="8" | {{mono|^X}} || Traditional [[caret notation]] |- | {{mono|C-x}} || [[Emacs]] and [[Vim (text editor)|Vim]] notation |- | {{mono|CTRL-X}} || Old [[Microsoft]] notation |- | {{mono|Ctrl+X}} || Current Microsoft notation |- | {{mono|Ctrl/X}} || [[OpenVMS]] notation |- | βX || [[Classic Mac OS]] and [[macOS]] notation, used in menus and [[Sticky Keys]] (similar to caret notation, but using {{unichar|2303|up arrowhead}} instead of a [[caret]])<ref>{{cite web|title=OS X Yosemite: What are those symbols shown in menus?|work=Apple Support|publisher=[[Apple Inc.]]|date=Sep 23, 2015|url=https://support.apple.com/kb/PH18802}}</ref> |- | ControlβX || Classic Mac OS and macOS notation, used in prose<ref>{{cite web|title=Mac keyboard shortcuts|work=Apple Support|publisher=Apple Inc.|date=December 7, 2015|access-date=December 28, 2015|url=https://support.apple.com/en-us/HT201236}}</ref> |- | {{mono|CNTL/X}} || [[Cisco IOS]] notation |- | {{mono|{{pipe}}X}} || Bar notation |} == Table of examples == Different application programs, user interfaces, and operating systems use the various control key combinations for different purposes. {| class="wikitable" !Key combination ![[Microsoft Windows]]/[[KDE]]/[[GNOME]] ![[Unix]] ([[command line]] and programs using [[readline]]) ![[Emacs]] (if different from Unix command line) {{anchor|A}} |- | [[Control-A|{{keypress|Ctrl|A}}]] || Select all || colspan=2 | Beginning of line {{anchor|B}} |- | [[Control-B|{{keypress|Ctrl|B}}]] || Bold || colspan=2 | Backward one character {{anchor|C}} |- | [[Control-C|{{keypress|Ctrl|C}}]] || [[Cut, copy, and paste|Copy]] || Generate [[SIGINT (POSIX)|SIGINT]] (terminate program) || Compound command {{anchor|D}} |- | [[Control-D|{{keypress|Ctrl|D}}]] || Font window (word processing); Add to bookmarks ([[Web browser|Browsers]]) || Forward delete, or if line is empty, end of input (traditional Unix) || Forward delete {{anchor|E}} |- | [[Control-E|{{keypress|Ctrl|E}}]] || Center alignment (word processing) || colspan=2 | End of line {{anchor|F}} |- | [[Control-F|{{keypress|Ctrl|F}}]] || Find (usually a small piece of text in a larger document) || colspan=2 | Forward one character {{anchor|G}} |- | [[Control-G|{{keypress|Ctrl|G}}]] || Go to (line number) || colspan=2 | Abort current operation {{anchor|H}} |- | [[Control-H|{{keypress|Ctrl|H}}]] || Replace; History || Delete previous character || Help key {{anchor|I}} |- | [[Control-I|{{keypress|Ctrl|I}}]] ||[[Italic type|Italic]]; Incremental search || colspan=2 | [[Command-line completion]] (same as [[Tab key]]) {{anchor|J}} |- | [[Control-J|{{keypress|Ctrl|J}}]]|| Justify; Downloads || [[Newline|Line feed]] (LFD) || LFD (to evaluate [[Lisp (programming language)|Lisp]] expressions) {{anchor|K}} |- | [[Control-K|{{keypress|Ctrl|K}}]] || Insert hyperlink (word processing) || colspan=2 | [[Cut, copy, and paste|Cut]] ("Kill") text between cursor and end of line {{anchor|L}} |- | [[Control-L|{{keypress|Ctrl|L}}]] || Create list; Left align (word processing) || Clear screen || Redraw window/terminal, and recenter view around current line {{anchor|M}} |- | [[Carriage return|{{keypress|Ctrl|M}}]] || Increase margin by 1/2 inch (word processing) || colspan=2 | Same as [[Enter key]] {{anchor|N}} |- | [[Control-N|{{keypress|Ctrl|N}}]] || New ([[window (computing)|window]], document, etc.) || Next line (in history) || Next line {{anchor|O}} |- | [[Control-O|{{keypress|Ctrl|O}}]] || Open || [[Enter key|Enter]] plus next line (in history) || Insert ("open") new line {{anchor|P}} |- | [[Control-P|{{keypress|Ctrl|P}}]] || Print || Previous line (in history) || Previous line {{anchor|Q}} |- | [[Control-Q|{{keypress|Ctrl|Q}}]] || Quit application || [[Software flow control|Resume transmission]] || Literal insert {{anchor|R}} |- | [[Control-R|{{keypress|Ctrl|R}}]] || Refresh page; Right align (word processing) || Search backwards in history || Search backwards {{anchor|S}} |- | [[Control-S|{{keypress|Ctrl|S}}]] || Save || [[Software flow control|Pause transmission]] || Search forward {{anchor|T}} |- | [[Control-T|{{keypress|Ctrl|T}}]] || Open new tab || colspan=2 | Transpose characters, display [[Status key|status]] {{anchor|U}} |- | [[Control-U|{{keypress|Ctrl|U}}]] || Underline; HTML of page you are currently looking at || Cut text between beginning of line and cursor || Prefix numerical argument to next command {{anchor|V}} |- | [[Control-V|{{keypress|Ctrl|V}}]] || [[Cut, copy, and paste|Paste]] || Literal insert || Page down {{anchor|W}} |- | [[Control-W|{{keypress|Ctrl|W}}]] || Close window or tab || Cut previous word || [[Cut, copy, and paste|Cut]] {{anchor|X}} |- | [[Control-X|{{keypress|Ctrl|X}}]] || [[Cut, copy, and paste|Cut]] || colspan=2 | Compound command {{anchor|Y}} |- | [[Control-Y|{{keypress|Ctrl|Y}}]] || [[Undo#Redo models|Redo]] || colspan=2 | [[Cut, copy, and paste|Paste]] {{anchor|Z}} |- | [[Control-Z|{{keypress|Ctrl|Z}}]] || [[Undo]] || Suspend program || [[Icon (computing)|Iconify]] [[Window (computing)|window]] |- | {{keypress|Ctrl|Shift|Z}} || [[Undo#Redo models|Redo]] || colspan=2 | not available |- | {{keypress|Ctrl|[}} || Decrease font size || colspan=2 | Same as [[Esc key|{{keypress|Esc}}]] or [[Alt key|{{keypress|Alt}}]] |- | {{keypress|Ctrl|]}} || Increase font size || Search for the next character typed || undefined or rarely used |- | {{keypress|Ctrl|{{=}}}} || Toggle font subscript || colspan=2 | not available |- | {{keypress|Ctrl|Shift|{{=}}}} || Toggle font superscript || colspan=2 | not available |- | {{keypress|Ctrl|End}} || Bottom (end of document or [[window (computing)|window]]) || undefined or rarely used || Bottom (end of text buffer) |- | {{keypress|Ctrl|Home}} || Top (start of document or [[window (computing)|window]]) || undefined or rarely used || Top (start of text buffer) |- | {{keypress|Ctrl|Insert}} || [[Copy and paste|Copy]] || undefined or rarely used || [[Copy and paste|Copy]] |- | {{keypress|Ctrl|PgDn}} || Next [[tab (GUI)|tab]] || undefined or rarely used || Scroll window to the right |- | {{keypress|Ctrl|PgUp}} || Previous [[tab (GUI)|tab]] || undefined or rarely used || Scroll window to the left |- | {{keypress|Ctrl|Tab}} || Next [[window (computing)|window]] or [[tab (GUI)|tab]] || colspan=2 | not available |- | {{keypress|Ctrl|Shift|Tab}} || Previous [[window (computing)|window]] or [[tab (GUI)|tab]] || colspan=2 | not available |- | {{keypress|Ctrl|+}} || [[Page zooming|Zoom]] in on [[window (computing)|window]] || colspan=2 | not available |- | {{keypress|Ctrl|-}} || [[Page zooming|Zoom]] out on [[window (computing)|window]] || colspan=2 | [[Undo]] |- | [[Control-0|{{keypress|Ctrl|0}}]] || Restore [[window (computing)|window]] to default [[page zooming|zoom]] factor || colspan=2 | not available |- | {{keypress|Ctrl|/}} || undefined or rarely used || colspan=2 | Same as {{keypress|Ctrl|-}} ([[Undo]]) |- | {{keypress|Ctrl|\}} || undefined or rarely used || Generate [[Signal (IPC)#SIGQUIT|SIGQUIT]] (terminate and dump core) || undefined or rarely used |- | {{keypress|Ctrl|β}} || Previous word || undefined or rarely used || Previous word |- | {{keypress|Ctrl|β}} || Next word || undefined or rarely used || Next word |- | {{keypress|Ctrl|Del}} || Delete next word || undefined or rarely used || Delete next word |- | {{keypress|Ctrl|Backspace}} || Delete previous word || undefined or rarely used || Delete previous word |- | {{keypress|Ctrl|Alt|Backspace}} || undefined or rarely used on Windows; restart [[X11]] on [[Unix-like]] desktops || colspan=2 | undefined or rarely used |- | {{keypress|Ctrl|Alt|β}} || Rotate screen right-side up || colspan=2 | undefined or rarely used |- | {{keypress|Ctrl|Alt|β}} || Rotate screen upside down || colspan=2 | undefined or rarely used |- | {{keypress|Ctrl|Alt|β}} || Rotate screen left || colspan=2 | undefined or rarely used |- | {{keypress|Ctrl|Alt|β}} || Rotate screen right || colspan=2 | undefined or rarely used |- | {{keypress|Ctrl|Shift|Esc}} || Open task manager || colspan=2 | not available |- | [[Control-Alt-Delete|{{keypress|Ctrl|Alt|Del}}]] || Reboot; Open task manager or session options || colspan=2 | not available |- | [[keypress|Ctrl]]+Mousewheel || Scroll in/out || colspan=2 | |} In early [[first-person shooter]]s, the left Ctrl key is often used to fire a weapon. In newer games, the key is often used for crouching instead.<ref>{{cite web|url=http://pcgamer.com/anyone-who-uses-the-c-key-to-crouch-is-a-hopeless-degenerate|title=Anyone who uses the C key to crouch is a hopeless degenerate|first=Evan|last=Lahti|date=August 5, 2016|website=[[PC Gamer]]}}</ref> == 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, {{mono|βC}} copies, while {{mono|βP}} prints; the same holds for saving, cutting, and pasting). [[Mac (computer)|Macintosh]]es 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 menu]]s 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. * Pressing Control and clicking the mouse button will invoke 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 (software)|clipboard]], etc. == Notes == {{notelist}} == References == <references/> == See also == * [[Alt key]] * [[Break key]] * [[Control characters]] * [[Control-Alt-Delete]] * [[Function key]] * [[Keyboard layout]] * [[Modifier key]] * [[IBM Common User Access]] {{Keyboard}} {{keyboard keys}} {{DEFAULTSORT:Control Key}} [[Category:Computer keys]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Anchor
(
edit
)
Template:Char
(
edit
)
Template:Cite web
(
edit
)
Template:Efn
(
edit
)
Template:Further
(
edit
)
Template:Keyboard
(
edit
)
Template:Keyboard keys
(
edit
)
Template:Keypress
(
edit
)
Template:Mono
(
edit
)
Template:Notelist
(
edit
)
Template:Section link
(
edit
)
Template:See also
(
edit
)
Template:Short description
(
edit
)
Template:Smallcaps
(
edit
)
Template:Unichar
(
edit
)
Template:Wikt-lang
(
edit
)