Reference articles on history, science, culture and more
Encyclopedia

Control-V

Computer command

In computing, Control-V is a key stroke with a variety of uses including generation of a control character in ASCII code, also known as the synchronous idle (SYN) character. The key stroke is generated by typing Ctrl+V. On MacOS based systems usually ⌘ Cmd+V is used instead.

01Usage

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-V can be used to paste text or other content (if supported) from the clipboard at the current cursor position. Control-V was one of a handful of keyboard sequences chosen by the program designers at Xerox PARC to control text editing.

Unix interactive terminals use Control-V to mean "the next character should be treated literally" (the mnemonic here is "V for verbatim"). This allows a user to insert a literal Control-C or Control-H or similar control characters that would otherwise be handled by the terminal. This behavior was copied by text editors like vi and Unix shells like bash and tcsh, which offer text editing on the command line.

02Representation

The ASCII and Unicode representation of "Synchronous Idle" is 22 in decimal, which is 26 in octal and 16 in hexadecimal.

Watch videos about Control-VExplainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article Control-V, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.