What does the word fore-and-aft mean?

Alphabet: