Thanks for that suggestion which would make them a naval garment. However, I'm wondering now if they are (or could be taken to be) 'galligaskins' which were worn by the lower classes, not just at sea. They were tied below the knee but much baggier than breeches.