When they had learned to mind without waiting to ask why , and had learned the signals which told them just what to do when danger was near , Johnny began to lead them farther and farther away from home .