Etymology
Today it means: A sailor who is charged with tending the halyards and other lines near the mast Full definition →
From mast + -man.
Etymology from Wiktionary, CC BY-SA 4.0.