Where does the "Yee-haw", commonly uttered by cowboys in varying types of media, come from? Was it a phrase that many used?

by cannotchoosegoodname

If so, how or when did it fall out of use, since nowadays a good old yeehaw is rarely yelled. If not, why and when did it start becoming such a stereotype associated with the 'Wild West'?

Alkibiades415

The most common explanation is that its origins lie in old directional commands for horses: "gee" (pronounced with a soft /g/ as in genie) to go right, and "haw" to go left. These two utterances are of significant age, and certainly commonplace by the 19th century, since by the time Jack London wrote a short story in 1911, he was using them in reference to commands for sled dogs (search for "haw"). The jump from directional command to general utterance is then not so difficult, especially since the lingo of the American rural west included many slang utterances beginning with y-, like "yippee" and "yo" and "yeah" and "yahoo" (the last of which actually goes back to Jonathan Swift, but was coopted as a fellow y- word).