In computing, a Control key is a modifier key which, when pressed in conjunction with another key, will perform a special operation (for example, Control-Alt-Delete); 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. It is usually labeled Ctrl, but sometimes Control or Ctl is seen, and it can be graphically represented as an “up arrowhead” (U+2303, ⌃), or simulated with a caret (^).
Contents |
History
On teletypewriters and early keyboards, holding down the Control key while pressing another key zeroed the leftmost 2 bits of the 7 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. Aptly, these characters are also called control characters. Note that using the Control key with either lowercase c or uppercase C will generate the same ASCII code on a teletypewriter because holding down the control key grounds (zeros the voltage on) the 2 wires used to carry the leftmost 2 bits from the keyboard. 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. This additional flexibility is not often taken advantage of and it usually does not matter, for example, whether the control key is pressed in conjunction with an upper or a lower case character. 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. Because on older keyboards the Control key was located on the left of the keyboard, some people remap the keys to exchange Control and Caps Lock, finding the traditional location more ergonomic.
Notation
There are several common notations for pressing the Control key in conjunction with another key. Each notation below means press and hold Control while pressing the x key:
| ^X | Traditional notation |
| C-x | Emacs notation |
| CTRL-X | Old Microsoft notation |
| Ctrl+X | New Microsoft notation |
Examples
Different application programs, user interfaces, and operating systems use the various control key combinations for different purposes.
| Key combination | Microsoft Windows/KDE | Emacs/Linux (command line and programs using readline |
|---|---|---|
| Ctrl+A | Select all | Beginning of line |
| Ctrl+B | Bold | Backward one character |
| Ctrl+C | Copy (can also be used as an alternative to Ctrl+Break to terminate an application) | Compound command (emacs) or terminate application |
| Ctrl+D | Font Window (Word Processing) | Forward delete or end of input |
| Ctrl+E | Center Alignment (Word Processing) | End of line |
| Ctrl+F | Find (usually a small piece of text in a larger document) | Forward one character |
| Ctrl+G | Go To (Line number) | ? |
| Ctrl+H | History | Brings up the history menu |
| Ctrl+I | Italic | Lisp indent (rarely used) |
| Ctrl+K | ? | Kill (cut) text between cursor and end of line |
| Ctrl+L | Create List | Vertically center current line in window/terminal |
| Ctrl+M | ? | Execute command |
| Ctrl+N | New (window, document, etc.) | Next line |
| Ctrl+O | Open | Insert (open) new line |
| Ctrl+P | Previous line | |
| Ctrl+Q | Quit application | Literal insert or resume application |
| Ctrl+R | Refresh page | Reverse search |
| Ctrl+S | Save | Search forward |
| Ctrl+T | Open New Tab | ? |
| Ctrl+U | Underline | Uppercase word |
| Ctrl+V | Paste | Page down |
| Ctrl+W | Close window or tab | Cut (into kill ring) |
| Ctrl+X | Cut | compound command |
| Ctrl+Y | Redo (sometimes Ctrl+Shift+Z is used for this) | Yank (paste from kill ring) |
| Ctrl+Z | Undo | Suspend program |
| Ctrl+End | Bottom (end of document or window) | undefined or rarely used |
| Ctrl+Home | Top (start of document or window) | undefined or rarely used |
| Ctrl+Ins | Copy | undefined or rarely used |
| Ctrl+PgDn | Next tab | undefined or rarely used |
| Ctrl+PgUp | Previous tab | undefined or rarely used |
| Ctrl+Tab | Next window or tab | undefined or rarely used |
| Ctrl+← | Previous word | undefined or rarely used |
| Ctrl+→ | Next word | undefined or rarely used |
| Ctrl+Alt+Backspace | ? | Restart X11 |
| Ctrl+Alt+Delete | Task Manager/ Restarting the Computer | Reboot (when on the console) |
Similar concepts
Generally, the Command key, labeled with the ⌘ symbol on Apple Macintosh computers, performs the equivalent functions in Mac OS X and Mac OS 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.
- 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; on a two-button mouse, you would just use the right mouse-button, with no modifiers.
- It is used in the command line interface with programs made for that interface.
- Under Mac OS X, 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.
See also
External links
| Esc | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | PtSc | ScLk | Brk | |||||||||
| <imagemap>
Image:KB United States.svg|450px desc none
rect 0 0 60 30 Tilde rect 60 0 120 30 Exclamation mark rect 120 0 180 30 At sign rect 180 0 240 30 Number sign rect 240 0 300 30 Dollar sign rect 300 0 360 30 Percent sign rect 360 0 420 30 Caret rect 420 0 480 30 Ampersand rect 480 0 540 30 Asterisk rect 540 0 600 30 Bracket rect 600 0 660 30 Bracket rect 660 0 720 30 Underscore rect 720 0 780 30 Plus and minus signs rect 780 0 900 30 Backspace
rect 0 0 60 60 Grave accent rect 60 0 120 60 1 (number) rect 120 0 180 60 2 (number) rect 180 0 240 60 3 (number) rect 240 0 300 60 4 (number) rect 300 0 360 60 5 (number) rect 360 0 420 60 6 (number) rect 420 0 480 60 7 (number) rect 480 0 540 60 8 (number) rect 540 0 600 60 9 (number) rect 600 0 660 60 0 (number) rect 660 0 720 60 Hyphen rect 720 0 780 60 Equals sign rect 780 0 900 60 Backspace
rect 0 61 90 90 Tab key rect 90 61 150 90 Q rect 150 61 210 90 W rect 210 61 270 90 E rect 270 61 330 90 R rect 330 61 390 90 T rect 390 61 450 90 Y rect 450 61 510 90 U rect 510 61 570 90 I rect 570 61 630 90 O rect 630 61 690 90 P rect 690 61 750 90 Bracket rect 750 61 810 90 Bracket rect 810 61 900 90 Vertical bar
rect 0 61 90 120 Tab key rect 90 61 150 120 Q rect 150 61 210 120 W rect 210 61 270 120 E rect 270 61 330 120 R rect 330 61 390 120 T rect 390 61 450 120 Y rect 450 61 510 120 U rect 510 61 570 120 I rect 570 61 630 120 O rect 630 61 690 120 P rect 690 61 750 120 Bracket rect 750 61 810 120 Bracket rect 810 61 900 120 Backslash
rect 0 121 105 150 Caps lock rect 105 121 165 150 A rect 165 121 225 150 S rect 225 121 285 150 D rect 285 121 345 150 F rect 345 121 405 150 G rect 405 121 465 150 H rect 465 121 525 150 J rect 525 121 585 150 K rect 585 121 645 150 L rect 645 121 705 150 Colon (punctuation) rect 705 121 765 150 Quotation mark rect 765 121 900 150 Enter key
rect 0 121 105 180 Caps lock rect 105 121 165 180 A rect 165 121 225 180 S rect 225 121 285 180 D rect 285 121 345 180 F rect 345 121 405 180 G rect 405 121 465 180 H rect 465 121 525 180 J rect 525 121 585 180 K rect 585 121 645 180 L rect 645 121 705 180 Semicolon rect 705 121 765 180 Apostrophe rect 765 121 900 180 Enter key
rect 0 181 135 210 Shift key rect 135 181 195 210 Z rect 195 181 255 210 X rect 255 181 315 210 C rect 315 181 375 210 V rect 375 181 435 210 B rect 435 181 495 210 N rect 495 181 555 210 M rect 555 181 615 210 Bracket rect 615 181 675 210 Bracket rect 675 181 735 210 Question mark rect 735 181 900 210 Shift key
rect 0 181 135 240 Shift key rect 135 181 195 240 Z rect 195 181 255 240 X rect 255 181 315 240 C rect 315 181 375 240 V rect 375 181 435 240 B rect 435 181 495 240 N rect 495 181 555 240 M rect 555 181 615 240 Comma (punctuation) rect 615 181 675 240 Full stop rect 675 181 735 240 Slash (punctuation) rect 735 181 900 240 Shift key
rect 0 241 90 300 Control key rect 90 241 150 300 Windows key rect 150 241 240 300 Alt key rect 240 241 600 300 Space bar rect 600 241 690 300 AltGr key rect 690 241 750 300 Windows key rect 750 241 810 300 Menu key rect 810 241 900 300 Control key </imagemap> |
Ins | Home | PgUp | Num | / | * | - | |||||||||||||||||
| Del | End | PgDn | 7 | 8 | 9 | + | ||||||||||||||||||
| 4 | 5 | 6 | ||||||||||||||||||||||
| ↑ | 1 | 2 | 3 | Ent | ||||||||||||||||||||
| ← | ↓ | → | 0 | . | ||||||||||||||||||||
|
|
|
|---|---|
| Dead keys | Compose |
| Modifier keys | Control · Shift · Alt/Option (Apple) · AltGr · Command/Meta (Apple/MIT/Sun keyboards) · Windows/Super · Fn (compact keyboards) |
| Lock keys | Scroll lock · Num lock · Caps lock |
| Navigation | Arrow · Page Up/Page Down · Home/End |
| Editing | Return/Enter · Backspace · Insert · Delete · Tab · Space bar |
| Misc. | System request/Print screen · Break/Pause · Escape · Menu · Numeric keypad · Function · Power management (Power, Sleep, Wake) · Language input · Any key |


