Flag signals can mean any of various methods of using flags or pennants to send signals. Flags may have individual significance as signals, or two or more flags may be manipulated so that their relative positions convey symbols. Flag signals allowed communication at a distance before the invention of radio and are still used especially in connection with ships.
Flaghoist signalling is one or more flags (or pennants) simultaneously flying from a fixed halyard, and generally any method of signaling by such means. Each of the flags has a distinct shape and color combination. Each flag or combination of flags has a preassigned meaning or "code". The International Code of Signals defines a standard set of flags and associated alphabet suitable for international use, as well as a set of standard codes. Flaghoist is also used in boat racing, to warn of impending severe weather, and other specialized applications.
Maritime flag signalling has a long history, especially prior to the advent of radio, and remains the preferred means of signaling in many situations. In naval flag signalling, additional flags and an expanded list of signals are used for identification and commands, as well as the mercantile uses. Many navies have their own proprietary or secret codes, and use additional flags. A designator flag is used to indicate if a flaghoist signal is meant to be interpreted as an ICS signal or as a naval signal. The U.S. Navy uses a set of 68 flags, including flags for each letter of the alphabet and each numeral to convey messages of tactical or administrative nature.
Flag semaphore signalling uses two flags, held in specific positions to signify letters. This method requires simple equipment but can be obscured by bad weather. A permanently installed chain of semaphore stations is a semaphore line and before the invention of the electric telegraph, was the fastest means of communication over moderately long distances.
In the 1850s, U.S. Army Major Albert J. Myer, a surgeon by training, developed a system using left or right movements of a flag (or torch or lantern at night). Myer's system used a single flag, waved back and forth in a binary code conceptually similar to the Morse code of dots and dashes. This is sometimes called the wig-wag method of signaling, or "wig-wagging". More mobile than previous means of optical telegraphy, as it only required one flag and a 6- to 8-foot platform on which to stand the signal corpsman, this code was used extensively by Signal Corps troops on both sides in the American Civil War. (Its first use in battle was by Confederate Lieutenant Edward Porter Alexander at the First Battle of Bull Run in 1861.)