A flag signal study edition
English ↔ Wig-wag
A Dream Within a Dream · in Albert Myer’s flag code of 1864
Edition: complete · every letter as flag motions, from the General Service Code · unreviewed project draft
Wig-wag sent messages with one large flag on a pole, swept down to the right or to the left, from hilltops, church steeples and towers up to twenty miles apart. Albert Myer, an army surgeon, built the code in the 1850s, and both armies used it throughout the American Civil War. Here the whole poem is written in the General Service Code of July 1864: 1 for a sweep to the right, 2 to the left, 3 a dip to the front.
Signal it with a flag
1 = flag down to the right · 2 = down to the left · 3 = dip in front, end of word. The flag returns upright between letters.
Part one / The poem
The poem, line by line
Every letter of Poe's poem as wig-wag motions: 1 right, 2 left, and 3, the front dip, after each word. Commas and dashes had no signal and are dropped. Select a line number for its study note.
| Line | English · source | Wig-wag · General Service Code |
|---|---|---|
| Take this kiss upon the brow! | 2 22 2121 12 3 2 122 1 212 3 2121 1 212 212 3 112 1212 21 11 3 2 122 12 3 2112 211 21 1121 33 | |
| And, in parting from you now, | 22 11 222 3 1 11 3 1212 22 211 2 1 11 2211 3 2221 211 21 1221 3 111 21 112 3 11 21 1121 3 | |
| Thus much let me avow — | 2 122 112 212 3 1221 112 121 122 3 221 12 2 3 1221 12 3 22 1222 21 1121 3 | |
| You are not wrong, who deem | 111 21 112 3 22 211 12 3 11 21 2 3 1121 211 21 11 2211 3 1121 122 21 3 222 12 12 1221 3 | |
| That my days have been a dream; | 2 122 22 2 3 1221 111 3 222 22 111 212 3 122 22 1222 12 3 2112 12 12 11 3 22 3 222 211 12 22 1221 3 | |
| Yet if hope has flown away | 111 12 2 3 1 2221 3 122 21 1212 12 3 122 22 212 3 2221 221 21 1121 11 3 22 1121 22 111 3 | |
| In a night, or in a day, | 1 11 3 22 3 11 1 2211 122 2 3 21 211 3 1 11 3 22 3 222 22 111 3 | |
| In a vision, or in none, | 1 11 3 22 3 1222 1 212 1 21 11 3 21 211 3 1 11 3 11 21 11 12 3 | |
| Is it therefore the less gone? | 1 212 3 1 2 3 2 122 12 211 12 2221 21 211 12 3 2 122 12 3 221 12 212 212 3 2211 21 11 12 33 | |
| All that we see or seem | 22 221 221 3 2 122 22 2 3 1121 12 3 212 12 12 3 21 211 3 212 12 12 1221 3 | |
| Is but a dream within a dream. | 1 212 3 2112 112 2 3 22 3 222 211 12 22 1221 3 1121 1 2 122 1 11 3 22 3 222 211 12 22 1221 33 | |
| I stand amid the roar | 1 3 212 2 22 11 222 3 22 1221 1 222 3 2 122 12 3 211 21 22 211 3 | |
| Of a surf-tormented shore, | 21 2221 3 22 3 212 112 211 2221 3 2 21 211 1221 12 11 2 12 222 3 212 122 21 211 12 3 | |
| And I hold within my hand | 22 11 222 3 1 3 122 21 221 222 3 1121 1 2 122 1 11 3 1221 111 3 122 22 11 222 3 | |
| Grains of the golden sand — | 2211 211 22 1 11 212 3 21 2221 3 2 122 12 3 2211 21 221 222 12 11 3 212 22 11 222 3 | |
| How few! yet how they creep | 122 21 1121 3 2221 12 1121 33 111 12 2 3 122 21 1121 3 2 122 12 111 3 121 211 12 12 1212 3 | |
| Through my fingers to the deep, | 2 122 211 21 112 2211 122 3 1221 111 3 2221 1 11 2211 12 211 212 3 2 21 3 2 122 12 3 222 12 12 1212 3 | |
| While I weep — while I weep! | 1121 122 1 221 12 3 1 3 1121 12 12 1212 3 1121 122 1 221 12 3 1 3 1121 12 12 1212 33 | |
| O God! Can I not grasp | 21 3 2211 21 222 33 121 22 11 3 1 3 11 21 2 3 2211 211 22 212 1212 3 | |
| Them with a tighter clasp? | 2 122 12 1221 3 1121 1 2 122 3 22 3 2 1 2211 122 2 12 211 3 121 221 22 212 1212 33 | |
| O God! can I not save | 21 3 2211 21 222 33 121 22 11 3 1 3 11 21 2 3 212 22 1222 12 3 | |
| One from the pitiless wave? | 21 11 12 3 2221 211 21 1221 3 2 122 12 3 1212 1 2 1 221 12 212 212 3 1121 22 1222 12 33 | |
| Is all that we see or seem | 1 212 3 22 221 221 3 2 122 22 2 3 1121 12 3 212 12 12 3 21 211 3 212 12 12 1221 3 | |
| But a dream within a dream? | 2112 112 2 3 22 3 222 211 12 22 1221 3 1121 1 2 122 1 11 3 22 3 222 211 12 22 1221 333 |
Part two / How it works
Two motions, twenty-six letters
The General Service Code of July 1864, issued to standardise signals between the US Army and Navy, with each letter’s motions and how often the poem uses it.
| Letter | Code | Motions | In the poem |
|---|---|---|---|
| A | 22 | left left | 44× |
| B | 2112 | left right right left | 4× |
| C | 121 | right left right | 5× |
| D | 222 | left left left | 20× |
| E | 12 | right left | 62× |
| F | 2221 | left left left right | 10× |
| G | 2211 | left left right right | 12× |
| H | 122 | right left left | 34× |
| I | 1 | right | 37× |
| J | 1122 | right right left left | 0× |
| K | 2121 | left right left right | 2× |
| L | 221 | left left right | 13× |
| M | 1221 | right left left right | 18× |
| N | 11 | right right | 34× |
| O | 21 | left right | 39× |
| P | 1212 | right left right left | 10× |
| Q | 1211 | right left right right | 0× |
| R | 211 | left right right | 28× |
| S | 212 | left right left | 27× |
| T | 2 | left | 41× |
| U | 112 | right right left | 9× |
| V | 1222 | right left left left | 5× |
| W | 1121 | right right left right | 21× |
| X | 2122 | left right left left | 0× |
| Y | 111 | right right right | 11× |
| Z | 2222 | left left left left | 0× |
1 · Rest, then sweep
The flag starts upright over the signalman’s head. For 1 it sweeps down to the ground on his right and back; for 2, down on his left. The motions of one letter follow without a pause, then the flag rests upright.
D = 222 · left left left
2 · Short for common
Like Morse code, the code is not a fixed length. The commonest letters take one or two motions: I is 1, T is 2, E is 12.
T = 2 · I = 1 · E = 12
3 · The front dip
A third motion, a dip to the ground in front, is used only for control: once at the end of a word, twice at the end of a sentence, three times at the end of the message.
3 word · 33 sentence · 333 message
4 · Flipped through the glass
Before 1864, 1 meant left and 2 right. The General Service Code swapped them, because the receiving station read through a telescope that turned the picture round.
old 1 = left · new 1 = right
Practice
Read the flag
A word from the poem is shown as wig-wag motions. Pick the English word.
0 of 0 correct
Practice with every word
Every word of the poem
All 85 different words of the poem, in the order they first appear. Decode each letter with the table, then reveal the English.
How to practise
- Split the motions into letters at each space.
- Find each letter in the table above.
- Reveal, then find the word in the poem.
- Wave a word to a friend with a towel, right and left, and let them write it down.
See the full word list (85 words)
| take | 2 22 2121 12 | line 1 · 1× |
| this | 2 122 1 212 | line 1 · 1× |
| kiss | 2121 1 212 212 | line 1 · 1× |
| upon | 112 1212 21 11 | line 1 · 1× |
| the | 2 122 12 | line 1 · 6× |
| brow | 2112 211 21 1121 | line 1 · 1× |
| and | 22 11 222 | line 2 · 2× |
| in | 1 11 | line 2 · 5× |
| parting | 1212 22 211 2 1 11 2211 | line 2 · 1× |
| from | 2221 211 21 1221 | line 2 · 2× |
| you | 111 21 112 | line 2 · 2× |
| now | 11 21 1121 | line 2 · 1× |
| thus | 2 122 112 212 | line 3 · 1× |
| much | 1221 112 121 122 | line 3 · 1× |
| let | 221 12 2 | line 3 · 1× |
| me | 1221 12 | line 3 · 1× |
| avow | 22 1222 21 1121 | line 3 · 1× |
| are | 22 211 12 | line 4 · 1× |
| not | 11 21 2 | line 4 · 3× |
| wrong | 1121 211 21 11 2211 | line 4 · 1× |
| who | 1121 122 21 | line 4 · 1× |
| deem | 222 12 12 1221 | line 4 · 1× |
| that | 2 122 22 2 | line 5 · 3× |
| my | 1221 111 | line 5 · 3× |
| days | 222 22 111 212 | line 5 · 1× |
| have | 122 22 1222 12 | line 5 · 1× |
| been | 2112 12 12 11 | line 5 · 1× |
| a | 22 | line 5 · 10× |
| dream | 222 211 12 22 1221 | line 5 · 5× |
| yet | 111 12 2 | line 6 · 2× |
| if | 1 2221 | line 6 · 1× |
| hope | 122 21 1212 12 | line 6 · 1× |
| has | 122 22 212 | line 6 · 1× |
| flown | 2221 221 21 1121 11 | line 6 · 1× |
| away | 22 1121 22 111 | line 6 · 1× |
| night | 11 1 2211 122 2 | line 7 · 1× |
| or | 21 211 | line 7 · 4× |
| day | 222 22 111 | line 7 · 1× |
| vision | 1222 1 212 1 21 11 | line 8 · 1× |
| none | 11 21 11 12 | line 8 · 1× |
| is | 1 212 | line 9 · 3× |
| it | 1 2 | line 9 · 1× |
| therefore | 2 122 12 211 12 2221 21 211 12 | line 9 · 1× |
| less | 221 12 212 212 | line 9 · 1× |
| gone | 2211 21 11 12 | line 9 · 1× |
| all | 22 221 221 | line 10 · 2× |
| we | 1121 12 | line 10 · 2× |
| see | 212 12 12 | line 10 · 2× |
| seem | 212 12 12 1221 | line 10 · 2× |
| but | 2112 112 2 | line 11 · 2× |
| within | 1121 1 2 122 1 11 | line 11 · 3× |
| I | 1 | line 12 · 6× |
| stand | 212 2 22 11 222 | line 12 · 1× |
| amid | 22 1221 1 222 | line 12 · 1× |
| roar | 211 21 22 211 | line 12 · 1× |
| of | 21 2221 | line 13 · 2× |
| surf-tormented | 212 112 211 2221 2 21 211 1221 12 11 2 12 222 | line 13 · 1× |
| shore | 212 122 21 211 12 | line 13 · 1× |
| hold | 122 21 221 222 | line 14 · 1× |
| hand | 122 22 11 222 | line 14 · 1× |
| grains | 2211 211 22 1 11 212 | line 15 · 1× |
| golden | 2211 21 221 222 12 11 | line 15 · 1× |
| sand | 212 22 11 222 | line 15 · 1× |
| how | 122 21 1121 | line 16 · 2× |
| few | 2221 12 1121 | line 16 · 1× |
| they | 2 122 12 111 | line 16 · 1× |
| creep | 121 211 12 12 1212 | line 16 · 1× |
| through | 2 122 211 21 112 2211 122 | line 17 · 1× |
| fingers | 2221 1 11 2211 12 211 212 | line 17 · 1× |
| to | 2 21 | line 17 · 1× |
| deep | 222 12 12 1212 | line 17 · 1× |
| while | 1121 122 1 221 12 | line 18 · 2× |
| weep | 1121 12 12 1212 | line 18 · 2× |
| O | 21 | line 19 · 2× |
| God | 2211 21 222 | line 19 · 2× |
| can | 121 22 11 | line 19 · 2× |
| grasp | 2211 211 22 212 1212 | line 19 · 1× |
| them | 2 122 12 1221 | line 20 · 1× |
| with | 1121 1 2 122 | line 20 · 1× |
| tighter | 2 1 2211 122 2 12 211 | line 20 · 1× |
| clasp | 121 221 22 212 1212 | line 20 · 1× |
| save | 212 22 1222 12 | line 21 · 1× |
| one | 21 11 12 | line 22 · 1× |
| pitiless | 1212 1 2 1 221 12 212 212 | line 22 · 1× |
| wave | 1121 22 1222 12 | line 22 · 1× |
Background
Aerial telegraphy
From a thesis for the deaf
Albert J. Myer worked as a telegraph operator before medical school, and in 1851 wrote his doctoral thesis on a sign language for deaf people built on Alexander Bain’s telegraph code. He turned the idea into flag signals in the 1850s and became the US Army’s first signal officer in 1860.
Civil War
The first use in battle was by the Confederate Edward Porter Alexander, Myer’s former pupil, at Bull Run in 1861. Stations stood in trees, on steeples and on towers over a hundred feet high. Both sides could read each other’s flags, so the Union enciphered messages with a cipher disk.
Waved down
Myer called it aerial telegraphy; the name wig-wag came from how the flag looked to an untrained eye. The US replaced his code with Morse code for flags in 1886 and ended it in 1912. Crossed wig-wag flags are still the badge of the US Army Signal Corps.
Sources
Pages consulted
- Albert J. Myer, A Manual of Signals, D. Van Nostrand, 1866 and 1872
- Rebecca Raines, Getting the Message Through, US Army Center of Military History, 1996
- Wigwag (flag signals), Wikipedia
- US Army Signal Museum, “Crossed flags: History of the wigwag”
Keep exploring
Related editions
Other editions of “A Dream Within a Dream” close to Wig-wag, chosen from the project’s 158 editions.
Closely linked editions
- Flag semaphore Hand flags
- Morse code International
- NATO alphabet ICAO spelling
Signals sent at a distance
- Lantern signals Light
- Signal flags Maritime
More signals and codes
- Back slang Victorian cant
- Bacon's cipher Biliteral
- Baudot code ITA2
- Dead letter drop Spy tradecraft
