the unhappy allegiance had been packed to the portholes with still-more-unhappy convicts , who had been kept chained wrist-and-ankle all the day , and stank quite dreadfully whenever they were brought out for exercise in their clanking lines , some of them hanging limp in the restraints .