"lengthwise," 1580s, from long (adj.) + way (n.) + adverbial genitive -s.
Entries linking to longways
long adj.
Old English lang "having a great linear extent, that extends considerably from end to end; tall; lasting," from Proto-Germanic *langa- (source also of Old Frisian and Old Saxon lang, Old High German and German lang, Old Norse langr, Middle Dutch lanc, Dutch lang, Gothic laggs "long").
The Germanic words perhaps are from PIE *dlonghos- (source also of Latin longus "long, extended; further; of long duration; distant, remote," Old Persian darga-, Persian dirang, Sanskrit dirghah "long"), from root *del- (1) "long" (source also of Greek dolikhos "long," endelekhes "perpetual"). Latin longus (source of prolong, elongate, longitude, etc.) thus is probably cognate with, but not the source of, the Germanic words. The word illustrates the Old English tendency for short "a" to become short "o" before -n- (also retained in bond/band and West Midlands dialectal lond from land and hond from hand).
Also in Old English in reference to time, "drawn out in duration," with overtones of "serious." The old sense of "tall" now appears to be dialectal only, or obsolete. For long "during a long time" is from c. 1300. To be long on something, "have a lot" of it, is from 1900, American English slang. A long vowel (c. 1000) originally was pronounced for an extended time. Mathematical long division is from 1808. Sporting long ball is from 1744, originally in cricket. Long jump as a sporting event is attested from 1864. A long face, one drawn downward in expression of sadness or solemnity, is from 1786. Long in the tooth (1841 of persons) is from horses showing age by recession of gums (but not in this sense until 1870). Long knives, name Native Americans gave to white settlers (originally in Virginia/Kentucky) is from 1774, perhaps a reference to their swords. Long time no see, supposedly imitative of American Indian speech, is first recorded 1919 as Chinese English.
way n.
Old English weg "road, path; course of travel; room, space, freedom of movement;" also, figuratively, "course of life" especially, in plural, "habits of life" as regards moral, ethical, or spiritual choices, from Proto-Germanic *wega- "course of travel, way" (source also of Old Saxon, Dutch weg, Old Norse vegr, Old Frisian wei, Old High German weg, German Weg, Gothic wigs "way"), from PIE root *wegh- "to go, move, transport in a vehicle."
From c. 1300 as "manner in which something occurs." Adverbial constructions attested since Middle English include this way "in this direction," that way "in that direction," both from late 15c.; out of the way "remote" (c. 1300). In the way "so placed as to impede" is from 1560s.
From the "course of life" sense comes way of life (c. 1600), get (or have) one's way (1590s), have it (one's) way (1709). From the "course of travel" sense comes the figurative go separate ways (1837); one way or (the) other (1550s); have it both ways (1847); and the figurative sense of come a long way (1922).
Adverbial phrase all the way "completely, to conclusion" is by 1915; sexual sense implied by 1924. Make way is from c. 1200. Ways and means "resources at a person's disposal" is attested from early 15c. (with mean (n.)). Way out "means of exit" is from 1926. Encouragement phrase way to go is short for that's the way to go.