Skip to content
Surf Wiki
Save to docs
general/computer-keys

From Surf Wiki (app.surf) — the open knowledge base

Control-C

Computer command


Computer command

Note

the keyboard shortcut

Control-C is a common computer command. It is generated by holding down the key and typing the key.

In graphical user interface environments, control+C is often used to copy highlighted text to the clipboard.{{cite web

In many command-line interface environments, control+C is used to abort the current task and regain user control.{{cite web |access-date=January 23, 2020 |archive-date=July 24, 2020 |archive-url=https://web.archive.org/web/20200724200739/https://pen-testing.sans.org/resources/papers/gcih/buffer-overflow-exploit-dameware-remote-control-software-104168 |url-status=dead

In graphical environments

Larry Tesler created the concept of cut, copy, paste, and undo for human-computer interaction while working at Xerox PARC to control text editing. During the development of the Macintosh it was decided that the cut, paste, copy and undo would be used frequently and assigned them to the ⌘-Z (Undo), ⌘-X (Cut), ⌘-C (Copy), and ⌘-V (Paste). The four letters are all located together at the left end of the bottom row of the standard QWERTY keyboard. IBM and early versions of Windows used a different set of keys as part of IBM Common User Access. Later, Windows adopted the shortcuts using Control instead of the Command key, as the usual keyboard of IBM PC has no Command key.

In command-line environments

Control+C was part of various Digital Equipment operating systems, including TOPS-10 and TOPS-20. Its popularity as an abort command was adopted by other systems including Unix. Later systems that copied it include CP/M, DOS and Windows. In POSIX systems, the sequence causes the active program to receive SIGINT, the interruption signal. If the program does not specify how to handle this condition, the program is terminated. Typically a program that does handle a SIGINT will still terminate itself, or at least terminate a task running inside it.

This system is usually preserved even in graphical terminal emulators. If control-C is used for copy in the graphical environment, an ambiguity arises. Typically is used for one of the commands, and both appear in the emulator's menus.

On ASCII terminals the keystroke produced the end-of-text control character. There is no indication this had anything to do with the choice to use it to interrupt programs, instead it was chosen because it was not being used for anything else.

References

References

  1. By. (2021-01-20). "The Origin Of Cut, Copy, And Paste".
  2. (27 February 2019). "Origins of the Apple Human Interface".
  3. Tesler, Larry. (2012-07-01). "A personal history of modeless text editing and cut/copy-paste". Interactions.
Info: Wikipedia Source

This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.

Want to explore this topic further?

Ask Mako anything about Control-C — get instant answers, deeper analysis, and related topics.

Research with Mako

Free with your Surf account

Content sourced from Wikipedia, available under CC BY-SA 4.0.

This content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.

Report