INDEPENDENT RESEARCH ARCHIVEPreserve the source. Keep the context.
A Dream Within a Dream · Poe in translation
← Signals & codes

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

222 211 12 22 1221

1 = flag down to the right · 2 = down to the left · 3 = dip in front, end of word. The flag returns upright between letters.

486letters to signal
1358flag motions for the whole poem
2motions spell every letter: right and left
20miles between stations, with a telescope

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.

LineEnglish · sourceWig-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.

LetterCodeMotionsIn the poem
A22left left44×
B2112left right right left4×
C121right left right5×
D222left left left20×
E12right left62×
F2221left left left right10×
G2211left left right right12×
H122right left left34×
I1right37×
J1122right right left left0×
K2121left right left right2×
L221left left right13×
M1221right left left right18×
N11right right34×
O21left right39×
P1212right left right left10×
Q1211right left right right0×
R211left right right28×
S212left right left27×
T2left41×
U112right right left9×
V1222right left left left5×
W1121right right left right21×
X2122left right left left0×
Y111right right right11×
Z2222left left left left0×

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.

Wig-wag → English

How to practise

  1. Split the motions into letters at each space.
  2. Find each letter in the table above.
  3. Reveal, then find the word in the poem.
  4. 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)
take2 22 2121 12line 1 · 1×
this2 122 1 212line 1 · 1×
kiss2121 1 212 212line 1 · 1×
upon112 1212 21 11line 1 · 1×
the2 122 12line 1 · 6×
brow2112 211 21 1121line 1 · 1×
and22 11 222line 2 · 2×
in1 11line 2 · 5×
parting1212 22 211 2 1 11 2211line 2 · 1×
from2221 211 21 1221line 2 · 2×
you111 21 112line 2 · 2×
now11 21 1121line 2 · 1×
thus2 122 112 212line 3 · 1×
much1221 112 121 122line 3 · 1×
let221 12 2line 3 · 1×
me1221 12line 3 · 1×
avow22 1222 21 1121line 3 · 1×
are22 211 12line 4 · 1×
not11 21 2line 4 · 3×
wrong1121 211 21 11 2211line 4 · 1×
who1121 122 21line 4 · 1×
deem222 12 12 1221line 4 · 1×
that2 122 22 2line 5 · 3×
my1221 111line 5 · 3×
days222 22 111 212line 5 · 1×
have122 22 1222 12line 5 · 1×
been2112 12 12 11line 5 · 1×
a22line 5 · 10×
dream222 211 12 22 1221line 5 · 5×
yet111 12 2line 6 · 2×
if1 2221line 6 · 1×
hope122 21 1212 12line 6 · 1×
has122 22 212line 6 · 1×
flown2221 221 21 1121 11line 6 · 1×
away22 1121 22 111line 6 · 1×
night11 1 2211 122 2line 7 · 1×
or21 211line 7 · 4×
day222 22 111line 7 · 1×
vision1222 1 212 1 21 11line 8 · 1×
none11 21 11 12line 8 · 1×
is1 212line 9 · 3×
it1 2line 9 · 1×
therefore2 122 12 211 12 2221 21 211 12line 9 · 1×
less221 12 212 212line 9 · 1×
gone2211 21 11 12line 9 · 1×
all22 221 221line 10 · 2×
we1121 12line 10 · 2×
see212 12 12line 10 · 2×
seem212 12 12 1221line 10 · 2×
but2112 112 2line 11 · 2×
within1121 1 2 122 1 11line 11 · 3×
I1line 12 · 6×
stand212 2 22 11 222line 12 · 1×
amid22 1221 1 222line 12 · 1×
roar211 21 22 211line 12 · 1×
of21 2221line 13 · 2×
surf-tormented212 112 211 2221 2 21 211 1221 12 11 2 12 222line 13 · 1×
shore212 122 21 211 12line 13 · 1×
hold122 21 221 222line 14 · 1×
hand122 22 11 222line 14 · 1×
grains2211 211 22 1 11 212line 15 · 1×
golden2211 21 221 222 12 11line 15 · 1×
sand212 22 11 222line 15 · 1×
how122 21 1121line 16 · 2×
few2221 12 1121line 16 · 1×
they2 122 12 111line 16 · 1×
creep121 211 12 12 1212line 16 · 1×
through2 122 211 21 112 2211 122line 17 · 1×
fingers2221 1 11 2211 12 211 212line 17 · 1×
to2 21line 17 · 1×
deep222 12 12 1212line 17 · 1×
while1121 122 1 221 12line 18 · 2×
weep1121 12 12 1212line 18 · 2×
O21line 19 · 2×
God2211 21 222line 19 · 2×
can121 22 11line 19 · 2×
grasp2211 211 22 212 1212line 19 · 1×
them2 122 12 1221line 20 · 1×
with1121 1 2 122line 20 · 1×
tighter2 1 2211 122 2 12 211line 20 · 1×
clasp121 221 22 212 1212line 20 · 1×
save212 22 1222 12line 21 · 1×
one21 11 12line 22 · 1×
pitiless1212 1 2 1 221 12 212 212line 22 · 1×
wave1121 22 1222 12line 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

Signals sent at a distance

More signals and codes