Senators Agree on Anti-Terror Bill