Etymology
Today it means: An instrument formerly used at sea for taking the altitudes of heavenly bodies, later replaced by the sextant. Full definition →
From fore- + staff.
Etymology from Wiktionary, CC BY-SA 4.0.