{{short description|Computer command}} {{about|a key combination|the control character, CAN|cancel character}} In computing, ''Control-X'' or ''^X'' is the key combination of the control key and a key usually labelled "X", typically used to cut selected text and save it to the clipboard ready to paste elsewhere. There is some disagreement whether the action moves with the key labelled "X" or stays in the lower-left location on keyboards with different letter arrangements.{{cn|date=May 2024}}
==Text editing== In many software applications on Windows<ref>{{cite web | url = http://support.microsoft.com/kb/126449 | title = Keyboard shortcuts for Windows | access-date = 2012-05-23}}</ref> and the X Window System {{keypress|Control|x}} can be used to cut highlighted mutable text to the clipboard. On Mac OS X {{Keypress|Command|x}} has an analogous function.<ref>{{cite web |url= http://support.apple.com/kb/HT1343 |title= Mac Keyboard shortcuts {{!}} -23}}</ref> The key combination was one of a handful of keyboard sequences chosen by the program designers at Xerox PARC to control text editing.{{citation needed|date = January 2013}} This style of human–computer interaction is referred to as '''indirect manipulation''' as opposed to direct manipulation. Direct manipulation is a term introduced by Ben Shneiderman in 1982 within the context of office applications and the desktop metaphor.<ref>{{cite journal|last=Shneiderman|first=Ben|title=The future of interactive systems and the emergence of direct manipulation|journal=Behaviour & Information Technology|year=1982|volume=1|issue=3 |pages=237–256|doi=10.1080/01449298208914450}}</ref><ref>{{Cite journal |last= Shneiderman|first= Ben|author-link= Ben Shneiderman|title= Direct Manipulation. A Step Beyond Programming Languages|journal= IEEE Computer|volume= 1|issue= 8|pages= 57–69|date=August 1983|url= http://www.elearning-reviews.org/topics/human-computer-interaction/design-principles/1983-shneiderman-direct-manipulation/|doi= 10.1109/MC.1983.1654471|s2cid= 14942172|access-date=2010-12-28|archive-url=https://web.archive.org/web/20120208111520/http://www.elearning-reviews.org/topics/human-computer-interaction/design-principles/1983-shneiderman-direct-manipulation/|archive-date=8 February 2012|citeseerx= 10.1.1.296.5944}}</ref> Indirect manipulation has a higher level of abstraction compared to direct manipulation, because first one must select the item (such as character, word, paragraph or icon) that one wants to edit and then give the command as a second step.
On ASCII terminals the key combination produces the CAN control character. Before the standard use for "cut" it was used for a variety of different purposes by different software. Emacs uses it as the first keystroke in a number of two-keystroke commands, for instance {{keypress|Ctrl|X}}{{keypress|S}} saves the current file.
== See also == * Control-C * Control-V * Control-Z * Keyboard shortcut
==References== {{reflist}}
Category:Computer keys
{{desktop-environment-stub}}