all his attempted explanations were useless , the ship 's company wholly convinced : three men now swore they had seen the ghost dancing a jig upon the foresail yard the night before , foretelling its doom ; others from the middle watch claimed the ghost had been wafting about the rigging all night long .