A telegraph code is one of the character encodings used to transmit information by telegraphy. Morse code is the best-known such code. Telegraphy usually refers to the electrical telegraph, but telegraph systems using the optical telegraph were in use before that. A code consists of a number of code points, each corresponding to a letter of the alphabet, a numeral, or some other character. In codes intended for machines rather than humans, code points for control characters, such as carriage return, are required to control the operation of the mechanism. Each code point is made up of a number of elements arranged in a unique way for that character. There are usually two types of element (a binary code), but more element types were employed in some codes not intended for machines. For instance, American Morse code had about five elements, rather than the two (dot and dash) of International Morse Code.
Codes meant for human interpretation were designed so that the characters that occurred most often had the fewest elements in the corresponding code point. For instance, Morse code for E, the most common letter in English, is a single dot ( ▄ ), whereas Q is ▄▄▄ ▄▄▄ ▄ ▄▄▄ . These arrangements meant the message could be sent more quickly and it would take longer for the operator to become fatigued. Telegraphs were always operated by humans until late in the 19th century. When automated telegraph messages came in, codes with variable-length code points were inconvenient for machine design of the period. Instead, codes with a fixed length were used. The first of these was the Baudot code, a five-bit code. Baudot has only enough code points to print in upper case. Later codes had more bits (ASCII has seven) so that both upper and lower case could be printed. Beyond the telegraph age, modern computers require a very large number of code points (Unicode has 21 bits) so that multiple languages and alphabets (character sets) can be handled without having to change the character encoding. Modern computers can easily handle variable-length codes such as UTF-8 and UTF-16 which have now become ubiquitous.
Prior to the electrical telegraph, a widely used method of building national telegraph networks was the optical telegraph consisting of a chain of towers from which signals could be sent by semaphore or shutters from tower to tower. This was particularly highly developed in France and had its beginnings during the French Revolution. The code used in France was the Chappe code, named after Claude Chappe the inventor. The British Admiralty also used the semaphore telegraph, but with their own code. The British code was necessarily different from that used in France because the British optical telegraph worked in a different way. The Chappe system had moveable arms, as if it were waving flags as in flag semaphore. The British system used an array of shutters that could be opened or closed. [1]
The Chappe system consisted of a large pivoted beam (the regulator) with an arm at each end (the indicators) which pivoted around the regulator on one extremity. The angles these components were allowed to take was limited to multiples of 45° to aid readability. This gave a code space of 8×4×8 code points, but the indicator position inline with the regulator was never used because it was hard to distinguish from the indicator being folded back on top of the regulator, leaving a code space of 7×4×7 = 196. Symbols were always formed with the regulator on either the left- or right-leaning diagonal (oblique) and only accepted as valid when the regulator moved to either the vertical or horizontal position. The left oblique was always used for messages, with the right oblique being used for control of the system. This further reduced the code space to 98, of which either four or six code points (depending on version) were control characters, leaving a code space for text of 94 or 92 respectively.
The Chappe system mostly transmitted messages using a code book with a large number of set words and phrases. It was first used on an experimental chain of towers in 1793 and put into service from Paris to Lille in 1794. The code book used this early is not known for certain, but an unidentified code book in the Paris Postal Museum may have been for the Chappe system. The arrangement of this code in columns of 88 entries led Holzmann & Pehrson to suggest that 88 code points might have been used. However, the proposal in 1793 was for ten code points representing the numerals 0–9, and Bouchet says this system was still in use as late as 1800 (Holzmann & Pehrson put the change at 1795). The code book was revised and simplified in 1795 to speed up transmission. The code was in two divisions, the first division was 94 alphabetic and numeric characters plus some commonly used letter combinations. The second division was a code book of 94 pages with 94 entries on each page. A code point was assigned for each number up to 94. Thus, only two symbols needed to be sent to transmit an entire sentence – the page and line numbers of the code book, compared to four symbols using the ten-symbol code.
In 1799, three additional divisions were added. These had additional words and phrases, geographical places, and names of people. These three divisions required extra symbols to be added in front of the code symbol to identify the correct book. The code was revised again in 1809 and remained stable thereafter. In 1837 a horizontal only coding system was introduced by Gabriel Flocon which did not require the heavy regulator to be moved. Instead, an additional indicator was provided in the centre of the regulator to transmit that element of the code. [2]
The Edelcrantz system was used in Sweden and was the second largest network built after that of France. The telegraph consisted of a set of ten shutters. Nine of these were arranged in a 3×3 matrix. Each column of shutters represented a binary-coded octal digit with a closed shutter representing "1" and the most significant digit at the bottom. Each symbol of telegraph transmission was thus a three-digit octal number. The tenth shutter was an extra-large one at the top. Its meaning was that the codepoint should be preceded by "A".
One use of the "A" shutter was that a numeral codepoint preceded by "A" meant add a zero (multiply by ten) to the digit. Larger numbers could be indicated by following the numeral with the code for hundreds (236), thousands (631) or a combination of these. This required fewer symbols to be transmitted than sending all the zero digits individually. However, the main purpose of the "A" codepoints was for a codebook of predetermined messages, much like the Chappe codebook.
The symbols without "A" were a large set of numerals, letters, common syllables and words to aid code compaction. Around 1809, Edelcrantz introduced a new codebook with 5,120 codepoints, each requiring a two-symbol transmission to identify.
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
003 | 026 | ✗ | 055 | 112 | 125 | 162 | 210 | 254 | ✗ | 274 | 325 | 362 | 422 | 450 | 462 | ✗ | 500 | 530 | 610 |
U | V | W | X | Y | Z | Å | Ä | Ö | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 00 | 000 |
640 | 650 | ✗ | 710 | 711 | 712 | 713 | 723 | 737 | 001 | 002 | 004 | 010 | 020 | 040 | 100 | 200 | 400 | 236 | 631 |
There were many codepoints for error correction (272, error), flow control, and supervisory messages. Usually, messages were expected to be passed all the way down the line, but there were circumstances when individual stations needed to communicate directly, usually for managerial purposes. The most common, and simplest situation was communication between adjacent stations. Codepoints 722 and 227 were used for this purpose, to get the attention of the next station towards, or away from, the sun, respectively. For more remote stations codepoints 557 and 755 respectively were used, followed by the identification of the requesting and target stations. [3]
Flag signalling was widely used for point-to-point signalling prior to the optical telegraph, but it was difficult to construct a nationwide network with hand-held flags. The much larger mechanical apparatus of the semaphore telegraph towers was needed so that a greater distance between links could be achieved. However, an extensive network with hand-held flags was constructed during the American Civil War. This was the wig-wag system which used the code invented by Albert J. Myer. Some of the towers used were enormous, up to 130 feet, to get a good range. Myer's code required only one flag using a ternary code. That is, each code element consisted of one of three distinct flag positions. However, the alphabetical codepoints required only two positions, the third position only being used in control characters. Using a ternary code in the alphabet would have resulted in shorter messages because fewer elements are required in each codepoint, but a binary system is easier to read at long distance since fewer flag positions need to be distinguished. Myer's manual also describes a ternary-coded alphabet with a fixed length of three elements for each codepoint. [4]
Many different codes were invented during the early development of the electrical telegraph. Virtually every inventor produced a different code to suit their particular apparatus. The earliest code used commercially on an electrical telegraph was the Cooke and Wheatstone telegraph five needle code (C&W5). This was first used on the Great Western Railway in 1838. C&W5 had the major advantage that the code did not need to be learned by the operator; the letters could be read directly off the display board. However, it had the disadvantage that it required too many wires. A one needle code, C&W1, was developed that required only one wire. C&W1 was widely used in the UK and the British Empire.
Some other countries used C&W1, but it never became an international standard and generally each country developed their own code. In the US, American Morse code was used, whose elements consisted of dots and dashes distinguished from each other by the length of the pulse of current on the telegraph line. This code was used on the telegraph invented by Samuel Morse and Alfred Vail and was first used commercially in 1844. Morse initially had code points only for numerals. He planned that numbers sent over the telegraph would be used as an index to a dictionary with a limited set of words. Vail invented an extended code that included code points for all the letters so that any desired word could be sent. It was Vail's code that became American Morse. In France, the telegraph used the Foy-Breguet telegraph, a two-needle telegraph that displayed the needles in Chappe code, the same code as the French optical telegraph, which was still more widely used than the electrical telegraph in France. To the French, this had the great advantage that they did not need to retrain their operators in a new code. [5]
In Germany in 1848, Friedrich Clemens Gerke developed a heavily modified version of American Morse for use on German railways. American Morse had three different lengths of dashes and two different lengths of space between the dots and dashes in a code point. The Gerke code had only one length of dash and all inter-element spaces within a code point were equal. Gerke also created code points for the German umlaut letters, which do not exist in English. Many central European countries belonged to the German-Austrian Telegraph Union. In 1851, the Union decided to adopt a common code across all its countries so that messages could be sent between them without the need for operators to recode them at borders. The Gerke code was adopted for this purpose.
In 1865, a conference in Paris adopted the Gerke code as the international standard, calling it International Morse Code. With some very minor changes, this is the Morse code used today. The Cooke and Wheatstone telegraph needle instruments were capable of using Morse code since dots and dashes could be sent as left and right movements of the needle. By this time, the needle instruments were being made with end stops that made two distinctly different notes as the needle hit them. This enabled the operator to write the message without looking up at the needle which was much more efficient. This was a similar advantage to the Morse telegraph in which the operators could hear the message from the clicking of the relay armature. Nevertheless, after the British telegraph companies were nationalised in 1870 the General Post Office decided to standardise on the Morse telegraph and get rid of the many different systems they had inherited from private companies.
In the US, telegraph companies refused to use International Morse because of the cost of retraining operators. They opposed attempts by the government to make it law. In most other countries, the telegraph was state controlled so the change could simply be mandated. In the US, there was no single entity running the telegraph. Rather, it was a multiplicity of private companies. This resulted in international operators needing to be fluent in both versions of Morse and to recode both incoming and outgoing messages. The US continued to use American Morse on landlines (radiotelegraphy generally used International Morse) and this remained the case until the advent of teleprinters which required entirely different codes and rendered the issue moot. [6]
The speed of sending in a manual telegraph is limited by the speed the operator can send each code element. Speeds are typically stated in words per minute. Words are not all the same length, so literally counting the words will get a different result depending on message content. Instead, a word is defined as five characters for the purpose of measuring speed, regardless of how many words are actually in the message. Morse code, and many other codes, also do not have the same length of code for each character of the word, again introducing a content-related variable. To overcome this, the speed of the operator repeatedly transmitting a standard word is used. PARIS is classically chosen as this standard because that is the length of an average word in Morse. [7]
In American Morse, the characters are generally shorter than International Morse. This is partly because American Morse uses more dot elements, and partly because the most common dash, the short dash, is shorter than the International Morse dash—two dot elements against three dot elements long. In principle, American Morse will be transmitted faster than International Morse if all other variables are equal. In practice, there are two things that detract from this. Firstly, American Morse, with around five coding elements was harder to get the timings right when sent quickly. Inexperienced operators were apt to send garbled messages, an effect known as hog Morse. The second reason is that American Morse is more prone to intersymbol interference (ISI) because of the larger density of closely spaced dots. This problem was particularly severe on submarine telegraph cables, making American Morse less suitable for international communications. The only solution an operator had immediately to hand to deal with ISI was to slow down the transmission speed. [8]
Morse code for non-Latin alphabets, such as Cyrillic or Arabic script, is achieved by constructing a character encoding for the alphabet in question using the same, or nearly the same code points as used in the Latin alphabet. Syllabaries, such as Japanese katakana, are also handled this way (Wabun code). The alternative of adding more code points to Morse code for each new character would result in code transmissions being very long in some languages. [9]
Languages that use logograms are more difficult to handle due to the much larger number of characters required. The Chinese telegraph code uses a codebook of around 9,800 characters (7,000 when originally launched in 1871) which are each assigned a four-digit number. It is these numbers that are transmitted, so Chinese Morse code consists entirely of numerals. The numbers must be looked up at the receiving end making this a slow process, but in the era when telegraph was widely used, skilled Chinese telegraphers could recall many thousands of the common codes from memory. The Chinese telegraph code is still used by law enforcement because it is an unambiguous method of recording Chinese names in non-Chinese scripts. [10]
Early printing telegraphs continued to use Morse code, but the operator no longer sent the dots and dashes directly with a single key. Instead they operated a piano keyboard with the characters to be sent marked on each key. The machine generated the appropriate Morse code point from the key press. An entirely new type of code was developed by Émile Baudot, patented in 1874. The Baudot code was a 5-bit binary code, with the bits sent serially. Having a fixed length code greatly simplified the machine design. The operator entered the code from a small 5-key piano keyboard, each key corresponding to one bit of the code. Like Morse, Baudot code was organised to minimise operator fatigue with the code points requiring the fewest key presses assigned to the most common letters.
Early printing telegraphs required mechanical synchronisation between the sending and receiving machine. The Hughes printing telegraph of 1855 achieved this by sending a Morse dash every revolution of the machine. A different solution was adopted in conjunction with the Baudot code. Start and stop bits were added to each character on transmission, which allowed asynchronous serial communication. This scheme of start and stop bits was followed on all the later major telegraph codes. [11]
On busy telegraph lines, a variant of the Baudot code was used with punched paper tape. This was the Murray code, invented by Donald Murray in 1901. Instead of directly transmitting to the line, the keypresses of the operator punched holes in the tape. Each row of holes across the tape had five possible positions to punch, corresponding to the five bits of the Murray code. The tape was then run through a tape reader which generated the code and sent it down the telegraph line. The advantage of this system was that multiple messages could be sent to line very fast from one tape, making better use of the line than direct manual operation could.
Murray completely rearranged the character encoding to minimise wear on the machine since operator fatigue was no longer an issue. Thus, the character sets of the original Baudot and the Murray codes are not compatible. The five bits of the Baudot code are insufficient to represent all the letters, numerals, and punctuation required in a text message. Further, additional characters are required by printing telegraphs to better control the machine. Examples of these control characters are line feed and carriage return. Murray solved this problem by introducing shift codes. These codes instruct the receiving machine to change the character encoding to a different character set. Two shift codes were used in the Murray code; figure shift and letter shift. Another control character introduced by Murray was the delete character (DEL, code 11111) which punched out all five holes on the tape. Its intended purpose was to remove erroneous characters from the tape, but Murray also used multiple DELs to mark the boundary between messages. Having all the holes punched out made a perforation which was easy to tear into separate messages at the receiving end. A variant of the Baudot–Murray code became an international standard as International Telegraph Alphabet no. 2 (ITA 2) in 1924. The "2" in ITA 2 is because the original Baudot code became the basis for ITA 1. ITA 2 remained the standard telegraph code in use until the 1960s and was still in use in places well beyond then. [12]
The teleprinter was invented in 1915. This is a printing telegraph with a typewriter-like keyboard on which the operator types the message. Nevertheless, telegrams continued to be sent in upper case only because there was not room for a lower case character set in Baudot–Murray or ITA 2 codes. This changed with the arrival of computers and the desire to interface computer-generated messages or word processor composed documents with the telegraph system. An immediate problem was the use of shift codes which caused a difficulty with computer storage of text. If a part of a message, or only one character, was retrieved, it was not possible to tell which encoding shift should be applied without searching back through the rest of the message for the last shift control. This led to the introduction of the 6-bit TeleTypeSetter (TTS) code. In TTS, the additional bit was used to store the shift state, thus obviating the need for shift characters. TTS was also of some benefit to teleprinters as well as computers. Corruption of a TTS transmitted letter code just resulted in one wrong letter being printed, which could probably be corrected by the receiving user. On the other hand, corruption of an ITA 2 shift character resulted in all the message from that point onwards being garbled until the next shift character was sent. [13]
By the 1960s, improving teleprinter technology meant that longer codes were nowhere near as significant a factor in teleprinter costs as they once were. The computer users' wanted lowercase characters and additional punctuation and both teleprinter and computer manufacturers wished to get rid of ITA 2 and its shift codes. This led the American Standards Association to develop a 7-bit code, the American Standard Code for Information Interchange (ASCII). The final form of ASCII was published in 1964 and it rapidly became the standard teleprinter code. ASCII was the last major code developed explicitly with telegraphy equipment in mind. Telegraphy rapidly declined after this and was largely replaced by computer networks, especially the Internet in the 1990s.
ASCII had several features geared to aid computer programming. The letter characters were in numerical order of code point, so an alphabetical sort could be achieved simply by sorting the data numerically. The code point for corresponding upper and lower case letters differed only by the value of bit 6, allowing a mix of cases to be sorted alphabetically if this bit was ignored. Other codes were introduced, notably IBM's EBCDIC derived from the punched card method of input, but it was ASCII and its derivatives that won out as the lingua franca of computer information exchange. [14]
The arrival of the microprocessor in the 1970s and the personal computer in the 1980s with their 8-bit architecture led to the 8-bit byte becoming the standard unit of computer storage. Packing 7-bit data into 8-bit storage is inconvenient for data retrieval. Instead, most computers stored one ASCII character per byte. This left one bit over that was not doing anything useful. Computer manufacturers used this bit in extended ASCII to overcome some of the limitations of standard ASCII. The main issue was that ASCII was geared to English, particularly American English, and lacked the accented vowels used in other European languages such as French. Currency symbols for other countries were also added to the character set. Unfortunately, different manufacturers implemented different extended ASCIIs making them incompatible across platforms. In 1987, the International Standards Organisation issued the standard ISO 8859-1, for an 8-bit character encoding based on 7-bit ASCII which was widely taken up.
ISO 8859 character encodings were developed for non-Latin scripts such as Cyrillic, Hebrew, Arabic, and Greek. This was still problematic if a document or data used more than one script. Multiple switches between character encodings was required. This was solved by the publication in 1991 of the standard for 16-bit Unicode, in development since 1987. Unicode maintained ASCII characters at the same code points for compatibility. As well as support for non-Latin scripts, Unicode provided code points for logograms such as Chinese characters and many specialist characters such as astrological and mathematical symbols. In 1996, Unicode 2.0 allowed code points greater than 16-bit; up to 20-bit, and 21-bit with an additional private use area. 20-bit Unicode provided support for extinct languages such as Old Italic script and many rarely used Chinese characters. [15]
In 1931, the International Code of Signals, originally created for ship communication by signalling using flags, was expanded by adding a collection of five-letter codes to be used by radiotelegraph operators.
Code | A N | B O | C P | D Q | E R | F S | G T | H U | I V | J W | K X | L Y | M Z | Data type | Notes | Ref |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Myer 2-element wig-wag | 11 22 | 1221 12 | 212 2121 | 111 2122 | 21 122 | 1112 121 | 1122 1 | 211 221 | 2 2111 | 2211 2212 | 1212 1211 | 112 222 | 2112 1111 | Serial, variable length | 1=flag left, 2=flag right [note 1] [note 2] | [16] |
International Morse in flag notation | 12 21 | 2111 222 | 2121 1221 | 211 2212 | 1 121 | 1121 111 | 221 2 | 1111 112 | 11 1112 | 1222 122 | 212 2112 | 1211 2122 | 22 2211 | Serial, variable length | 1=flag left, 2=flag right | [17] |
American Morse in flag notation | 12 21 | 2111 131 | 1131 11111 | 211 1121 | 1 1311 | 121 111 | 221 2 | 1111 112 | 11 1112 | 2121 122 | 212 1211 | 2+ 11311 | 22 11131 | Serial, variable length | 1=flag left, 2=flag right, 3=flag dipped [note 3] | [18] |
Myer 3-element wig-wag | 112 322 | 121 223 | 211 313 | 212 131 | 221 331 | 122 332 | 123 133 | 312 233 | 213 222 | 232 322 | 323 321 | 231 111 | 132 113 | Serial, 3-element | 1=flag left, 2=flag right, 3=flag dipped | [19] |
Code | A N | B O | C P | D Q | E R | F S | G T | H U | I V | J W | K X | L Y | M Z | Data type | Notes | Ref |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Schilling 1-needle (1820) | Serial, variable length | This is the first code to use a single circuit. [note 1] | [20] | |||||||||||||
Gauss and Weber 1-needle (1833) | Serial, variable length | [note 2] [note 1] | [21] | |||||||||||||
Cooke and Wheatstone 5-needle (1838) | Parallel, 5-element | [note 3] | [22] | |||||||||||||
Cooke and Wheatstone 2-needle | Serial-parallel, variable length | [note 1] | [23] | |||||||||||||
Cooke and Wheatstone 1-needle (1846) | Serial, variable length | [note 4] [note 1] | [24] | |||||||||||||
Highton 1-needle | Serial, variable length | [note 5] [note 1] | [25] | |||||||||||||
Morse as a needle code | Serial, variable length | Needle left = dot Needle right = dash [note 6] | [26] | |||||||||||||
Foy-Breguet code (2-needle) | Parallel, 2-element | [note 7] | [27] |
An alternative representation of needle codes is to use the numeral "1" for needle left, and "3" for needle right. The numeral "2", which does not appear in most codes represents the needle in the neutral upright position. The codepoints using this scheme are marked on the face of some needle instruments, especially those used for training. [28]
Code | A N | B O | C P | D Q | E R | F S | G T | H U | I V | J W | K X | L Y | M Z | Data type | Notes | Ref |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Steinheil (1837) | ▄▄▄▄▄▄ ▄▄▄▄ | ▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄ | ▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄ | ▄▄▄▄ ✗ | ▄▄ ▄▄▄▄ | ▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄ | ▄▄▄▄▄▄ ▄▄▄▄ | ▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄ | ▄▄ ▄▄▄▄▄▄ | ▄▄ ▄▄▄▄▄▄▄▄ | ▄▄▄▄▄▄ ✗ | ▄▄▄▄▄▄ ✗ | ▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄ | Serial, variable length | [note 1] | [29] |
Steinheil (1849) | ▄▄▄ ▄ ▄▄▄ ▄ ▄ | ▄▄▄ ▄ ▄ ▄▄▄ ▄▄▄ ▄▄▄ ▄▄▄ | ▄▄▄ ▄▄▄ ▄ ▄ ▄▄▄ ▄▄▄ ▄ | ▄▄▄ ▄ ▄▄▄ ▄▄▄ ▄ | ▄▄▄ ▄▄▄ ▄▄▄ | ▄▄▄ ▄ ▄ ▄▄▄ ▄▄▄ ▄ ▄ | ▄ ▄ ▄▄▄ ▄▄▄ ▄ | ▄ ▄▄▄ ▄ ▄▄▄ ▄ | ▄ ▄▄▄ ▄ ▄ | ▄ ▄ ▄▄▄ ▄ ▄▄▄ | ▄▄▄ ▄▄▄ ▄ ✗ | ▄ ▄▄▄ ▄▄▄ ✗ | ▄ ▄ ▄ ▄ ▄ ▄▄▄ ▄▄▄ | Serial, variable length | [note 2] | [30] |
Bain (1843) | ▄ ▄▄▄ ▄ ▄ ▄▄▄ ▄▄▄ | ▄ ▄▄▄ ▄ ▄▄▄ | ▄ ▄ ▄ ▄▄▄ ▄ ▄▄▄ | ▄ ▄ ▄▄▄ ▄▄▄ ▄ ▄▄▄ ▄ | ▄ ▄▄▄ ▄▄▄ ▄ | ▄ ▄▄▄ ▄▄▄ ▄▄▄ ▄▄▄ ▄ ▄ | ▄ ▄▄▄ ▄ ▄ ▄▄▄ ▄ ▄ ▄ | ▄ ▄▄▄ ▄▄▄ ▄▄▄ ▄ | ▄ ▄ ▄▄▄ ▄▄▄ ▄▄▄ ▄ | ▄ ▄ ▄ ▄▄▄ ▄▄▄ ▄▄▄ ▄ ▄ | ▄ ▄▄▄ ▄▄▄ ▄ ▄▄▄ ▄ ▄ ▄▄▄ | ▄ ▄ ▄ ▄ ▄▄▄ ▄▄▄ | ▄ ▄▄▄ ▄ ▄▄▄ ▄▄▄ ▄▄▄ ▄▄▄ | Serial, variable length | [note 3] | [31] |
Morse (c. 1838) | ▄ ▄ ▄ ▄▄▄ ▄ | ▄ ▄ ▄ ▄ ▄ ▄ | ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ | ▄ ▄ ▄ ▄ ▄ ▄ ▄▄▄ ▄ | ▄ ▄ ▄ | ▄ ▄ ▄ ▄ ▄ ▄▄▄ ▄ | ▄ ▄ ▄ ▄▄▄ ▄▄▄ ▄ | ▄ ▄ ▄ ▄ ▄ ▄▄▄ ▄▄▄ | ▄ ▄▄▄ ▄▄▄ | ▄ ▄ ▄ ▄ ▄ ▄▄▄ | ▄▄▄ ▄ ▄▄▄ ▄▄▄ ▄▄▄ | ▄▄▄▄ ▄ ▄▄▄ | ▄▄▄ ▄ ▄ ▄ ▄▄▄ ▄ | Serial, variable length | [note 4] | [32] |
Morse (c. 1840) (American Morse) | ▄ ▄▄▄ ▄▄▄ ▄ | ▄▄▄ ▄ ▄ ▄ ▄ ▄ | ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ | ▄▄▄ ▄ ▄ ▄ ▄ ▄▄▄ ▄ | ▄ ▄ ▄ ▄ | ▄ ▄▄▄ ▄ ▄ ▄ ▄ | ▄▄▄ ▄▄▄ ▄ ▄▄▄ | ▄ ▄ ▄ ▄ ▄ ▄ ▄▄▄ | ▄ ▄ ▄ ▄ ▄ ▄▄▄ | ▄▄▄ ▄ ▄▄▄ ▄ ▄ ▄▄▄ ▄▄▄ | ▄▄▄ ▄ ▄▄▄ ▄ ▄▄▄ ▄ ▄ | ▄▄▄▄ ▄ ▄ ▄ ▄ | ▄▄▄ ▄▄▄ ▄ ▄ ▄ ▄ | Serial, variable length | [note 5] | [33] |
Gerke (1848) (continental Morse) | ▄ ▄▄▄ ▄▄▄ ▄ | ▄▄▄ ▄ ▄ ▄ ▄ ▄▄▄ ▄ ▄ ▄ | ▄▄▄ ▄ ▄▄▄ ▄ ▄ ▄ ▄ ▄ ▄ | ▄▄▄ ▄ ▄ ▄▄▄ ▄▄▄ ▄ ▄▄▄ | ▄ ▄ ▄▄▄ ▄ | ▄ ▄ ▄▄▄ ▄ ▄ ▄ ▄ | ▄▄▄ ▄▄▄ ▄ ▄▄▄ | ▄ ▄ ▄ ▄ ▄ ▄ ▄▄▄ | ▄ ▄ ▄ ▄ ▄ ▄▄▄ | ▄ ▄ ▄ ▄▄▄ ▄▄▄ | ▄▄▄ ▄ ▄▄▄ ▄ ▄ ▄▄▄ ▄ ▄ ▄ | ▄ ▄▄▄ ▄ ▄ ▄▄▄ ▄▄▄ ▄ ▄ ▄ | ▄▄▄ ▄▄▄ ▄ ▄▄▄ ▄▄▄ ▄ ▄ | Serial, variable length | [note 6] | [34] |
International Morse (1851) | ▄ ▄▄▄ ▄▄▄ ▄ | ▄▄▄ ▄ ▄ ▄ ▄▄▄ ▄▄▄ ▄▄▄ | ▄▄▄ ▄ ▄▄▄ ▄ ▄ ▄▄▄ ▄▄▄ ▄ | ▄▄▄ ▄ ▄ ▄▄▄ ▄▄▄ ▄ ▄▄▄ | ▄ ▄ ▄▄▄ ▄ | ▄ ▄ ▄▄▄ ▄ ▄ ▄ ▄ | ▄▄▄ ▄▄▄ ▄ ▄▄▄ | ▄ ▄ ▄ ▄ ▄ ▄ ▄▄▄ | ▄ ▄ ▄ ▄ ▄ ▄▄▄ | ▄ ▄▄▄ ▄▄▄ ▄▄▄ ▄ ▄▄▄ ▄▄▄ | ▄▄▄ ▄ ▄▄▄ ▄▄▄ ▄ ▄ ▄▄▄ | ▄ ▄▄▄ ▄ ▄ ▄▄▄ ▄ ▄▄▄ ▄▄▄ | ▄▄▄ ▄▄▄ ▄▄▄ ▄▄▄ ▄ ▄ | Serial, variable length | [35] |
When used with a printing telegraph or siphon recorder, the "dashes" of dot-dash codes are often made the same length as the "dot". Typically, the mark on the tape for a dot is made above the mark for a dash. An example of this can be seen in the 1837 Steinheil code, which is nearly identical to the 1849 Steinheil code, except that they are represented differently in the table. International Morse code was commonly used in this form on submarine telegraph cables. [36]
Code | A N | B O | C P | D Q | E R | F S | G T | H U | I V | J W | K X | L Y | M Z | Data type | Notes | Ref |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Baudot and ITA 1 | 01 1E | 0C 07 | 0D 1F | 0F 1D | 02 1C | 0E 14 | 0A 15 | 0B 05 | 06 17 | 09 16 | 19 12 | 1B 04 | 1A 13 | Serial, 5-bit | [37] | |
Baudot–Murray and ITA 2 | 03 0C | 19 18 | 0E 16 | 09 17 | 01 0A | 0D 05 | 1A 10 | 14 07 | 06 1E | 0B 13 | 0F 1D | 12 15 | 1C 11 | Serial, 5-bit | [38] | |
ASCII | 41/61 4E/6E | 42/62 4F/6F | 43/63 50/70 | 44/64 51/71 | 45/65 52/72 | 46/66 53/73 | 47/67 54/74 | 48/78 55/75 | 49/69 56/76 | 4A/6A 57/77 | 4B/6B 58/78 | 4C/6C 59/79 | 4D/6D 5A/7A | Serial, 7-bit | [note 2] | [39] |
The Baudot code is an early character encoding for telegraphy invented by Émile Baudot in the 1870s. It was the predecessor to the International Telegraph Alphabet No. 2 (ITA2), the most common teleprinter code in use before ASCII. Each character in the alphabet is represented by a series of five bits, sent over a communication channel such as a telegraph wire or a radio signal by asynchronous serial communication. The symbol rate measurement is known as baud, and is derived from the same name.
Electrical telegraphs were point-to-point text messaging systems, primarily used from the 1840s until the late 20th century. It was the first electrical telecommunications system and the most widely used of a number of early messaging systems called telegraphs, that were devised to communicate text messages quicker than physical transportation. Electrical telegraphy can be considered to be the first example of electrical engineering.
Morse code is a method used in telecommunication to encode text characters as standardized sequences of two different signal durations, called dots and dashes, or dits and dahs. Morse code is named after Samuel Morse, one of the early developers of the system adopted for electrical telegraphy.
Telegraphy is the long-distance transmission of messages where the sender uses symbolic codes, known to the recipient, rather than a physical exchange of an object bearing the message. Thus flag semaphore is a method of telegraphy, whereas pigeon post is not. Ancient signalling systems, although sometimes quite extensive and sophisticated as in China, were generally not capable of transmitting arbitrary text messages. Possible messages were fixed and predetermined and such systems are thus not true telegraphs.
A teleprinter is an electromechanical device that can be used to send and receive typed messages through various communications channels, in both point-to-point and point-to-multipoint configurations. Initially they were used in telegraphy, which developed in the late 1830s and 1840s as the first use of electrical engineering, though teleprinters were not used for telegraphy until 1887 at the earliest. The machines were adapted to provide a user interface to early mainframe computers and minicomputers, sending typed data to the computer and printing the response. Some models could also be used to create punched tape for data storage and to read back such tape for local printing or transmission.
An optical telegraph is a line of stations, typically towers, for the purpose of conveying textual information by means of visual signals. There are two main types of such systems; the semaphore telegraph which uses pivoted indicator arms and conveys information according to the direction the indicators point, and the shutter telegraph which uses panels that can be rotated to block or pass the light from the sky behind to convey information.
A telegraph sounder is an antique electromechanical device used as a receiver on electrical telegraph lines during the 19th century. It was invented by Alfred Vail after 1850 to replace the previous receiving device, the cumbersome Morse register and was the first practical application of the electromagnet. When a telegraph message comes in it produces an audible "clicking" sound representing the short and long keypresses – "dots" and "dashes" – which are used to represent text characters in Morse code. A telegraph operator would translate the sounds into characters representing the telegraph message.
American Morse Code — also known as Railroad Morse—is the latter-day name for the original version of the Morse Code developed in the mid-1840s, by Samuel Morse and Alfred Vail for their electric telegraph. The "American" qualifier was added because, after most of the rest of the world adopted "International Morse Code," the companies that continued to use the original Morse Code were mainly located in the United States. American Morse is now nearly extinct—it is most frequently seen in American railroad museums and American Civil War reenactments—and "Morse Code" today virtually always means the International Morse which supplanted American Morse.
Procedural signs or prosigns are shorthand signals used in Morse code telegraphy, for the purpose of simplifying and standardizing procedural protocols for land-line and radio communication. The procedural signs are distinct from conventional Morse code abbreviations, which consist mainly of brevity codes that convey messages to other parties with greater speed and accuracy. However, some codes are used both as prosigns and as single letters or punctuation marks, and for those, the distinction between a prosign and abbreviation is ambiguous, even in context.
The Cooke and Wheatstone telegraph was an early electrical telegraph system dating from the 1830s invented by English inventor William Fothergill Cooke and English scientist Charles Wheatstone. It was a form of needle telegraph, and the first telegraph system to be put into commercial service. The receiver consisted of a number of needles which could be moved by electromagnetic coils to point to letters on a board. This feature was liked by early users who were unwilling to learn codes, and employers who did not want to invest in staff training.
Telex is a telecommunication service that provides text-based message exchange over the circuits of the public switched telephone network or by private lines. The technology operates on switched station-to-station basis with teleprinter devices at the receiving and sending locations. Telex was a major method of sending written messages electronically between businesses in the post–World War II period. Its usage went into decline as the fax machine grew in popularity in the 1980s.
Donald Murray was an electrical engineer and the inventor of a telegraphic typewriter system using an extended Baudot code that was a direct ancestor of the teleprinter. He can justifiably be called the "Father of the remote Typewriter".
Hog-Morse was telegraphers' jargon for the tendency of inexperienced telegraph operators to make errors when sending or receiving in Morse code. The term was current in the United States during the period when American Morse code was still in use.
Semaphore is the use of an apparatus to create a visual signal transmitted over distance. A semaphore can be performed with devices including: fire, lights, flags, sunlight, and moving arms. Semaphores can be used for telegraphy when arranged in visually connected networks, or for traffic signalling such as in railway systems, or traffic lights in cities.
A needle telegraph is an electrical telegraph that uses indicating needles moved electromagnetically as its means of displaying messages. It is one of the two main types of electromagnetic telegraph, the other being the armature system, as exemplified by the telegraph of Samuel Morse in the United States. Needle telegraphs were widely used in Europe and the British Empire during the nineteenth century.
The British and Irish Magnetic Telegraph Company was founded by John Brett in 1850. The Magnetic was the principal competitor to the largest telegraph company in the United Kingdom, the Electric Telegraph Company. The Magnetic was the leading company in Ireland, while the Electric was the leading company in mainland Britain. Between them, they dominated the market until the telegraph was nationalised in 1870.
The Foy–Breguet telegraph, also called the French telegraph, was an electrical telegraph of the needle telegraph type developed by Louis-François-Clement Breguet and Alphonse Foy in the 1840s for use in France. The system used two-needle instruments that presented a display using the same code as that on the optical telegraph of Claude Chappe. The Chappe telegraph was extensively used in France by the government, so this arrangement was appealing to them as it meant there was no need to retrain operators.
In the nineteenth century, the United Kingdom of Great Britain and Ireland had the world's first commercial telegraph company. British telegraphy dominated international telecommunications well into the twentieth. Telegraphy is the sending of textual messages by human operators using symbolic codes. Electrical telegraphy used conducting wires to send messages, often incorporating a telegram service to deliver the telegraphed communication from the telegraph office. This is distinct from optical telegraphy that preceded it and the radiotelegraphy that followed. Though Francis Ronalds first demonstrated a working telegraph over a substantial distance in 1816, he was unable to put it into practical use. Starting in 1836, William Fothergill Cooke, with the scientific assistance of Charles Wheatstone, developed the Cooke and Wheatstone telegraph. The needle telegraph instrument suggested by Wheatstone, the battery invented by John Frederic Daniell, and the relay invented by Edward Davy were important components of this system.
Wigwag is an historical form of flag signaling that passes messages by waving a single flag. It differs from flag semaphore in that it uses one flag rather than two, and the symbols for each letter are represented by the motion of the flag rather than its position. The larger flag and its motion allow messages to be read over greater distances than semaphore. Messages could be sent at night using torches instead of flags.