Escape patterns of chaotic magnetic field lines in a tokamak with reversed magnetic shear and an ergodic limiter PHYSICS OF PLASMAS, v.15, n.9, 2008 http://producao.usp.br/handle/BDPI/15972 The existence of a reversed magnetic shear in tokamaks improves the plasma confinement through the formation of internal transport barriers that reduce radial particle and heat transport. However, the transport poloidal profile is much influenced by the presence of chaotic magnetic field lines at the plasma edge caused by external perturbations. Contrary to many expectations, it has been observed that such a chaotic region does not uniformize heat and particle deposition on the inner tokamak wall. The deposition is characterized instead by structured patterns called magnetic footprints, here investigated for a nonmonotonic analytical plasma equilibrium perturbed by an ergodic limiter. The magnetic footprints appear due to the underlying mathematical skeleton of chaotic magnetic field lines determined by the manifold tangles. For the investigated edge safety factor ranges, these effects on the wall are associated with the field line stickiness and escape channels due to internal island chains near the flux surfaces. Comparisons between magnetic footprints and escape basins from different equilibrium and ergodic limiter characteristic parameters show that highly concentrated magnetic footprints can be avoided by properly choosing these parameters.