Farm goods were graded by good, fair, middling, and poor. So "fair to middling" meant mediocre. I knew that literature minor would come in handy...