sailors of varying races and sorts moved about the docks , some loaded , or unloaded cargo from the ships , others sat on coils of rope or on crates or other suitably shaped cargo , chatting , smoking pipes or undertaking other various leisure past times .