Thanks kat/katlaughing but I don't think that's the answer. I have a feeling it might have a naval background but I'm not sure. As for 'by the skin of his teeth, I don't think that teeth have any skin so the expression probably indicates that success seem improbable but was narrowly achieved -that's what I think anyway....