the prisoners had been drawn up in ranks around the four sides of the courtyard square , with shorter lines of guards arranged facing them , bayonets fixed to the ready , to prevent any unseemly outbreak .