Lably
Skip to content

Control key

Key on computer keyboards

  • 5 min read
  • 5 chapters

Related on Lably

Through Computing, Unicode and ASCII

On keyboards that use English abbreviations for key labeling, it is usually labeled Ctrl (Control or 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 Strg (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). This symbol is encoded in Unicode as U+2388 helm symbol ⎈, but it is very rarely used.

History

On teletypewriters and computer terminals, holding down the Control key while pressing another key would send an ASCII 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 a has a binary ASCII code of 110 0001. This code would be converted to 000 0001, corresponding to the ASCII character with id 1 (the SOH Character). The table at 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 interfaces, and Control-E is interpreted by the Emacs 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 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.

Sign in to keep reading

4 more chapters are free with a Lably account.

More in Computing and communication