Google Answers Logo
View Question
 
Q: CTRL Key history ( Answered 5 out of 5 stars,   1 Comment )
Question  
Subject: CTRL Key history
Category: Computers
Asked by: zpatch-ga
List Price: $10.00
Posted: 18 Oct 2003 20:59 PDT
Expires: 17 Nov 2003 19:59 PST
Question ID: 267586
The CTRL key (or control key) is a computer keyboard mainstay, used to
modify other keys and execute commands, but what does CTRL actually
mean? I'd like to know why it is called the Control key, when did it
first appear, and, if possible, who came up with it.
Answer  
Subject: Re: CTRL Key history
Answered By: mathtalk-ga on 19 Oct 2003 08:14 PDT
Rated:5 out of 5 stars
 
Hi, zpatch-ga:

The control key (CTRL) is a legacy to us from the era of teletype
terminals (TTY's).  The word "control" refers to terminal operations
_other_ than printing characters.  For example:

Ctrl-G (BEL)        Ring a bell
Ctrl-H (BS)         Backspace
Ctrl-I (HT or TAB)  Horizontal tabulation
Ctrl-J (LF)         Line feed
Ctrl-K (VT)         Vertical tabulation
Ctrl-L (FF)         Form feed
Ctrl-M (CR)         Carriage return

Many of these operations involve movement of the platen (the roller in
a typewriter which advances the paper left to right as well as up and
down), and hence the variant description of these as "carriage control
codes".

For a quick sketch of how the 7-bit ASCII code developed from earlier
5-bit telegraph codes ("Baudot"), see this Web page:

[Teletype Codes]
http://www.knobstick.ca/museum/codes1.htm

Note that the word "teletype" was used in relation to both the
transmissions of telegraph messages and again with regard to printing
terminals that received (and sent) messages in ASCII code.  The most
obvious benefit of enlarging the code space from 5- to 7-bits was
making room for lowercase letters (the Baudot codes were
conventionally uppercase only).  Both sorts of devices would typically
incorporate paper tape punches & readers, in addition to a
typewriter-like printing mechanism.

Careful examination of the ASCII chart referenced above will show that
the control key has a fairly simple "effect" on the code produced by
any alphabetic key, namely setting the two highest order bits to zero.
 Suppressing the two highest bit has the effect of limiting the range
of values to 0 through 31.  In this sense the Ctrl and Shift keys can
both be called "metakeys" because their original effects were merely
to modify the results produced by other keys.

Let's illustrate this with regard to the Ctrl-M (carriage return)
"character".  The ASCII code for capital M is (decimal) 77 or in
binary 1001101, while the code for little m is (decimal) 109 or in
binary 1101101.  Note that the uppercase and lowercase letters differ
by 32, or by setting the penultimate (next to highest order) bit in
the 7-bit code to obtain the lowercase version.  In this regard ASCII
ordering puts all the uppercase letters before all the lowercase one.

If both the two highest order bits are set to zero, then Ctrl-M and
Ctrl-m would amount to the same code, (decimal) 13 or binary 0001101. 
Thus in a true TTY interface, the use of a Shift key in combination
with Ctrl (to modify the code produced) would be redundant.  A
personal computer, however, is much more closely integrated with the
keyboard, so both Ctrl and Shift can be combined, if desired, to
produce varying results (as can the newer "meta" key, Alt).

For a nice explanation of the original uses of "control codes", see
this page:

[ASCII Contol Codes from alt.folklore.computers]
http://www.everything2.org/index.pl?node=control%20codes

As you'll see there, the phrase "control code" came to be applied to a
few ASCII values at the upper end of the 7-bit range, in addition to
the bottom block between 0 and 31.  Of those, the one which has best
survived the passage of time is ASCII (decimal) 127 or RO (Rubout), in
many cases useful as a terminal code to "erase" characters, e.g. for
password protection.

A discussion of control codes is still relevant to modern "UNIX"
computing environments which emphasize "terminal emulation" as part of
the user's configuration, e.g. through a "termcaps" file.  As
electronic terminals began to replace the less reliable mechanical
TTY's, these were referred to as "glass TTY's".  Today the VT1OO and
various brands survive as designations for a package of terminal
capabilities that must emulate the original TTY behaviors.

regards, mathtalk-ga


Search Strategy

Keywords: "control codes" teletype
://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=%22control+codes%22+teletype&btnG=Google+Search
zpatch-ga rated this answer:5 out of 5 stars and gave an additional tip of: $2.00
Very thourough, with lots of great clarifications

Comments  
Subject: Re: CTRL Key history
From: jeffrush-ga on 05 Nov 2003 13:13 PST
 
What am impressive history! Kudos!

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy