- Control-Z
-
In computing, Control+Z is a control character in ASCII code, also known as the substitute (SUB) character or a keyboard shortcut. Strictly speaking, Control+Z is not a printable character at all but a code for control purposes, though it is sometimes rendered by two characters as ^Z. It is generated by pressing the Z key while holding down the Ctrl key on a computer keyboard. The equivalent Mac OS and Mac OS X key combination on Apple computers is Command+Z.
In many GUIs and applications Control+Z can be used to undo the latest action. In some applications earlier actions than the last one can be undone by clicking Control+Z multiple times. Control+Z was one of a handful of keyboard sequences chosen by the program desiqwerewrgners 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.
In some operating systems, Control+Z is used to signal an end-of-file, and thus known as the EOF character (more accurately: the EOF control code), when typing at a terminal, terminal emulator, MS-DOS command line, or Win32 console. Early DEC operating systems used this convention, which was borrowed by CP/M, and was later in turn borrowed and continued in the MS-DOS and Microsoft Windows operating systems.
On Unix-like systems, Control+Z is the most common default keyboard mapping for the key sequence that suspends a process (SIGTSTP). When entered by a user at their computer terminal, the currently running foreground process is sent a SIGTSTP signal, which generally causes the process to suspend its execution. The user can later continue the process execution by typing the command 'fg' (short for foreground) or by typing 'bg' (short for background) and furthermore typing the command 'disown' to separate the background process from the terminal.
On Blogger, a weblog publishing service, the shortcut actually replaces the current version with the one last saved automatically.
Representation
- ASCII and Unicode representation of "substitute":
- Octal code: 32
- Decimal code: 26
- Hexadecimal code: 1A, U+001A
- Mnemonic symbol: SUB
- Binary value: 11010
See also
- Access key
- C0 and C1 control codes (ISO 646)
- Control-C
- Control-G
- Control-V
- Control-X
- Control-\
References
Categories:- Control characters
- ASCII and Unicode representation of "substitute":
Wikimedia Foundation. 2010.