Control-Z: Difference between revisions
Loadmaster (talk | contribs) m moved end of file text |
No edit summary |
||
Line 1: | Line 1: | ||
In [[computing]], '''control-Z''' is a [[control character]] in [[ASCII code]], also known as the '''substitute''' ('''[[Substitute character|SUB]]''') character. It is generated by pressing the '''[[Z]]''' key while holding down the '''[[control key|Ctrl]]''' key on a [[computer keyboard]]. |
In [[computing]], '''control-Z''' is a [[control character]] in [[ASCII code]], also known as the '''substitute''' ('''[[Substitute character|SUB]]''') character. It is generated by pressing the '''[[Z]]''' key while holding down the '''[[control key|Ctrl]]''' key on a [[computer keyboard]]. |
||
Control-Z was one of a handful of [[computer keyboard|keyboard]] sequences chosen by the program designers at [[Xerox PARC]] to control [[text editor|text editing]]. It is used to ''[[undo]]'' the last ''[[Cut, copy and paste|cut-and-paste]]'' operation performed by the user. Presumably these particular [[keystroke]]s were chosen because of their location on a standard [[QWERTY keyboard]], since the Z (undo), [[control-X|X]] (cut), [[control-C|C]] (copy), and [[control-V|V]] (paste) keys are located together at the left end of the bottom row of the standard [[QWERTY]] keyboard. Such usage continues today in many [[GUI|GUI-based]] operating systems (including [[Microsoft Windows]] and [[Mac OS]]) and [[word processor|word processing]] [[software]]. Some software programs also provide a keystroke that functions as the opposite ''[[redo]]'' operation, which re-applies the last editing operation, generally activated by a [[control-Y]] or [[control key|control]]-[[shift key|shift]]-Z. |
Control-Z was one of a handful of [[computer keyboard|keyboard]] sequences chosen by the program designers at [[Xerox PARC]] to control [[text editor|text editing]]. It is used to ''[[undo]]'' the last ''[[Cut, copy and paste|cut-and-paste]]'' operation performed by the user. Presumably these particular [[keystroke]]s were chosen because of their location on a standard [[QWERTY keyboard]], since the Z (undo), [[control-X|X]] (cut), [[control-C|C]] (copy), and [[control-V|V]] (paste) keys are located together at the left end of the bottom row of the standard [[QWERTY]] keyboard. Such usage continues today in many [[GUI|GUI-based]] operating systems (including [[Microsoft Windows]] and [[Mac OS]] (although here the [[Command_Key|Command]] key is used instead of the control key)) and [[word processor|word processing]] [[software]]. Some software programs also provide a keystroke that functions as the opposite ''[[redo]]'' operation, which re-applies the last editing operation, generally activated by a [[control-Y]] or [[control key|control]]-[[shift key|shift]]-Z. |
||
In some [[operating systems]], control-Z is used to indicate the [[end-of-file|end of a file]]. Early [[Digital Equipment Corporation|DEC]] operating systems used this convention, which was borrowed by [[CP/M]], and was later in turn borrowed and continued in the [[Microsoft DOS]] operating system. |
In some [[operating systems]], control-Z is used to indicate the [[end-of-file|end of a file]]. Early [[Digital Equipment Corporation|DEC]] operating systems used this convention, which was borrowed by [[CP/M]], and was later in turn borrowed and continued in the [[Microsoft DOS]] operating system. |
Revision as of 07:37, 10 August 2007
In computing, control-Z is a control character in ASCII code, also known as the substitute (SUB) character. It is generated by pressing the Z key while holding down the Ctrl key on a computer keyboard.
Control-Z was one of a handful of keyboard sequences chosen by the program designers at Xerox PARC to control text editing. It is used to undo the last cut-and-paste operation performed by the user. 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. Such usage continues today in many GUI-based operating systems (including Microsoft Windows and Mac OS (although here the Command key is used instead of the control key)) and word processing software. Some software programs also provide a keystroke that functions as the opposite redo operation, which re-applies the last editing operation, generally activated by a control-Y or control-shift-Z.
In some operating systems, control-Z is used to indicate the end of a file. Early DEC operating systems used this convention, which was borrowed by CP/M, and was later in turn borrowed and continued in the Microsoft DOS operating system.
On Unix and Unix-like operating systems, control-Z is the most common default keyboard mapping for the key sequence that suspends a process. 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 or run the process in background mode.
Summary
- ASCII and Unicode representation of "substitute":
- Octal code: 32
- Decimal code: 26
- Hexadecimal code: 1A, U+001A
- Mnemonic symbol: SUB