Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Control key

From Wikipedia, the free encyclopedia
Key on computer keyboards
A Control key (marked "Ctrl") on a Windows keyboard next to one style of aWindows key, followed in turn by anAlt key
The rarely usedISO keyboard symbol for "Control"

Incomputing, aControl keyCtrl is amodifier key which, when pressed in conjunction with another key, performs a special operation (for example,Ctrl+C). Similarly to theShift 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 standardISO/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 labeledCtrl (Control orCtl are sometimes used, but it is uncommon). Abbreviations in the language of the keyboard layout also are in use, e.g., theGerman keyboard layout usesStrg (Steuerung) as required by the German standardDIN 2137:2012-06. There is a standardized keyboard symbol (to be used when Latin lettering is not preferred).[a] This symbol is encoded inUnicode asU+2388helm symbol, but it is very rarely used.

History

[edit]
See also:Control character § How control characters map to keyboards

Onteletypewriters andcomputer terminals, holding down the Control key while pressing another key would send anASCIIC0 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 charactera has a binary ASCII code of110 0001. This code would be converted to000 0001, corresponding to the ASCII character with id 1 (the SOH Character). The table atC0 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 somecommand-line interfaces, and Control-E is interpreted by theEmacs text editor as "move the editor cursor to the end of the line".

Computer keyboards directly attached to a computer, as is the case for apersonal computer orworkstation, 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, anothermodifier 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

[edit]
Further information:Caps lock § Placement

The keyboards of many earlycomputer terminals, including theTeletype Model 33 ASR andLear-SieglerADM-3A, and early models of theIBM PC, positioned the Control key on the left of the keyboard, whereascaps lock resides in the same position on most modern keyboards. The traditional layout was preserved for laterworkstation systems and is often associated withUnix workstations. Keyboards fromSun 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 forOne 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 theHappy 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

[edit]

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

^XTraditionalcaret notation
C-xEmacs andVim notation
CTRL-XOldMicrosoft notation
Ctrl+XCurrent Microsoft notation
Ctrl/XOpenVMS notation
⌃XClassic Mac OS andmacOS notation, used in menus andSticky Keys (similar to caret notation, but usingU+2303 UP ARROWHEAD instead of acaret)[3]
Control–XClassic Mac OS and macOS notation, used in prose[4]
CNTL/XCisco IOS notation
|XBar notation

Table of examples

[edit]

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

Key combinationMicrosoft Windows/KDE/GNOMEUnix (command line and programs usingreadline)Emacs (if different from Unix command line)

Ctrl+ASelect allBeginning of line

Ctrl+BBoldBackward one character

Ctrl+CCopyGenerateSIGINT (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);

Finds the next occurrence of a previously searched term (Browsers)

Abort current operation

Ctrl+HReplace; HistoryDelete previous characterHelp key

Ctrl+IItalic; Incremental searchCommand-line completion (same asTab key)

Ctrl+JJustify; DownloadsLine feed (LFD)LFD (to evaluateLisp 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 asEnter key

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

Ctrl+OOpenEnter plus next line (in history)Insert ("open") new line

Ctrl+PPrint current pagePrevious 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, displaystatus

Ctrl+UUnderline; HTML of page you are currently looking atCut 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 programIconifywindow
Ctrl+⇧ Shift+ZRedonot available
Ctrl+[Decrease font sizeSame asEsc orAlt
Ctrl+]Increase font sizeSearch for the next character typedundefined or rarely used
Ctrl+=Toggle font subscriptnot available
Ctrl+⇧ Shift+=Toggle font superscriptnot available
Ctrl+EndBottom (end of document orwindow)undefined or rarely usedBottom (end of text buffer)
Ctrl+HomeTop (start of document orwindow)undefined or rarely usedTop (start of text buffer)
Ctrl+InsertCopyundefined or rarely usedCopy
Ctrl+PgDnNexttabundefined or rarely usedScroll window to the right
Ctrl+PgUpPrevioustabundefined or rarely usedScroll window to the left
Ctrl+Tab ↹Nextwindow ortabnot available
Ctrl+⇧ Shift+Tab ↹Previouswindow ortabnot available
Ctrl++Zoom in onwindownot available
Ctrl+-Zoom out onwindowUndo
Ctrl+0Restorewindow to defaultzoom factornot available
Ctrl+/undefined or rarely usedSame asCtrl+- (Undo)
Ctrl+\undefined or rarely usedGenerateSIGQUIT (terminate and dump core)undefined or rarely used
Ctrl+Previous wordundefined or rarely usedPrevious word
Ctrl+Next wordundefined or rarely usedNext word
Ctrl+DelDelete next wordundefined or rarely usedDelete next word
Ctrl+← BackspaceDelete previous wordundefined or rarely usedDelete previous word
Ctrl+Alt+← Backspaceundefined or rarely used on Windows; restartX11 onUnix-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 managernot available
Ctrl+Alt+DelReboot; Open task manager or session optionsnot available
Ctrl+MousewheelZoom in/out

In earlyfirst-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

[edit]

Generally, theCommand key, labeled with the ⌘ symbol onApple Macintosh computers, performs the equivalent functions inclassic Mac OS andmacOS applications (for example,⌘C copies, while⌘P prints; the same holds for saving, cutting, and pasting).

Mac computers 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 amodifier key for key-combinations.
  • Pressing Control and clicking the mouse button will invoke acontextual 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 thecommand line interface with programs made for that interface.
  • InQuickbooks, 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.
  • UndermacOS, the Control key allows the use ofEmacs-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 akill ring separate from the normalclipboard, etc.

Notes

[edit]
  1. ^given inISO/IEC 9995-7 as symbol 26, and in ISO 7000 "Graphical symbols for use on equipment" as symbol ISO-7000-2028

References

[edit]
  1. ^Complex Text Layout Language Support in the Solaris Operating Environmentdocs.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. Archived fromthe original on 2007-11-24. Retrieved2010-06-11.
  3. ^"OS X Yosemite: What are those symbols shown in menus?".Apple Support.Apple Inc. Sep 23, 2015. Archived fromthe original on 2016-03-07.
  4. ^"Mac keyboard shortcuts".Apple Support. Apple Inc. December 7, 2015. RetrievedDecember 28, 2015.
  5. ^Lahti, Evan (August 5, 2016)."Anyone who uses the C key to crouch is a hopeless degenerate".PC Gamer.

See also

[edit]
EscF1F2F3F4F5F6F7F8F9F10F11F12PrtScn/
SysRq
Scroll
Lock
Pause/
Break
InsertHomePgUpNum
Lock
DeleteEndPgDn789+
456
123Enter
   0
   Ins
 . 
Del
Dead keys
Modifier keys
Lock keys
Navigation keys
Editing
Contextual
Misc.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Control_key&oldid=1337158358"
Category:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp