Fort Courage, Kansas. Civil War hero Captain Wilton Parmenter is in command, protecting the Fort, and the neighboring town of the same name, from a tribe of Indians in the area, led by Chief Wild Eagle. With Sergeant O'Rourke and Corporal Agarn rounding out his staff, Captain Parmenter navigates Fort Courage through the dangerous waters of the expansionist latter half of the 19th Century.
Plus also: wackiness.
This is the synopsis of a situation comedy, circa 1965. Not an emphatically successful one, but "F Troop" was still a pristine specimen of what I grew up thinking was the Platonic ideal of sitcoms.