WASHINGTON (AP) Senate Republicans and Democrats have reached a deal for completing terrorism detainee legislation.