The problem of terrorism inside Pakistan and the kinds of pressures General Musharraf faces were evident on Thursday when a suicide bomber killed an American diplomat and two others outside the American Consulate in Karachi .