gomez crossed to the binnacle , shouting orders to the quartermaster , the ships boys and the watch on deck ; first to light two lanterns at the stern to signal the change of course and then to trim the sails .