To “toe the line” derives from when boys on a ship were forced to stand still for inspection with their toes on a deck seam. To “pipe down” was the boatswain’s whistle for everyone to be quiet at night, and “piping hot” was his call for meals. A “scuttlebutt” was a water cask around which the seamen gossiped while waiting for their rations. A ship was “three sheets to the wind” when the lines to the sails broke and the vessel pitched drunkenly out of control.
David Grann in The Wager