Etymology
Today it means: Lengthwise, in the longer direction. Full definition →
From long + -ways.
Etymology from Wiktionary, CC BY-SA 4.0.