Control-X

From Wikipedia, the free encyclopedia

In computing, control-X is a control character in ASCII code, also known as the cancel (CAN) character. It is generated by pressing the X key while holding down the Ctrl key on a computer keyboard.

In many GUI environments, including Microsoft Windows and most desktop environments based on the X Window System, and in applications such as word processing software running in those environments, control-X can be used to cut highlighted text to the clipboard. Control-X was one of a handful of keyboard sequences chosen by the program designers at Xerox PARC to control text editing. Presumably these particular keystrokes were chosen because of their location on a standard QWERTY keyboard, since the Z (undo), X (cut), C (copy), and V (paste) keys are located together at the left end of the bottom row of the standard QWERTY keyboard. The equivalent Mac OS key combination on Apple computers is Command-X (or Apple-X).

[edit] Representation

  • ASCII and Unicode representation of "Cancel":
    Octal code: 30
    Decimal code: 24
    Hexadecimal code: 18, U+0018
    Mnemonic symbol: CAN

[edit] See also