A Feghoot (also known as a story pun or poetic story joke) is a humorous short story or vignette ending in a pun (typically a play on a well-known phrase) where the story contains sufficient context to recognize the punning humor. It can be considered a type of shaggy dog story.
This storytelling model apparently originated in a long-running series of short science fiction pieces that appeared under the collective title "Through Time and Space with Ferdinand Feghoot", published in various magazines over several decades, written by Reginald Bretnor under the anagrammatic pseudonym of 'Grendel Briarton'. The usual formula the stories followed was for the title character to solve a problem bedeviling some manner of being or extricate himself from a dangerous situation. The events could take place all over the galaxy and in various historical or future periods on Earth and elsewhere. In his adventures, Feghoot worked for the Society for the Aesthetic Re-Arrangement of History and traveled via a device that had no name but was typographically represented as the ")(". The pieces were usually vignettes only a few paragraphs long, and always ended with a deliberately terrible pun that was often based on a well-known title or catch-phrase.
"Through Time and Space with Ferdinand Feghoot" was originally published in the magazine Fantasy and Science Fiction from 1956 to 1973. (In 1973, the magazine ran a contest soliciting readers' Feghoots as entries.) The series also appeared in Fantasy and Science Fiction's sister magazine Venture Science Fiction Magazine, and later in Isaac Asimov's Science Fiction Magazine, Amazing Stories, and other publications. The individual pieces were identified by Roman numerals rather than titles. The stories have been collected in several editions, each an expanded version of the previous, the most recent being The Collected Feghoot from Pulphouse Publishing.