Research In Motion agreed to pay rival Visto $267.5 million to license and buy patents, settling a long-running legal battle. As part of the deal, RIM received a perpetual and fully paid license on all Visto patents and acquired some Visto intellectual property.