When Pakistan’s former president and military chief, Gen. Pervez Musharraf, appeared on Indian television, his interviewer, Karan Thapar, told him that the fact that the C.I.A. did not share the intelligence about Bin Laden with Pakistan was “a slap on the face of Pakistan.” General Musharraf nodded reluctantly.

Mr. Thapar then said Pakistan had been “caught with its pants down.” General Musharraf, who had once led Pakistan to war against India, wryly responded, “Well, aren’t you enjoying using these terms?”

Mr. Thapar then insisted that the Bin Laden episode was not an embarrassment, but a “humiliation” for Pakistan. General Musharraf let out a sad chuckle.

Setbacks are nothing new for Pakistan’s military. It fought three disastrous wars with India. According to India, its neighbor has since the 1980s sought vengeance by unleashing terrorists on Indian soil. Pakistan has consistently denied this and accuses India of killing its own civilians through terror.

When Mr. Thapar asked General Musharraf why the Pakistani military could not detect U.S. choppers as they flew in from the west and remained in the country’s airspace for more than two hours, General Musharraf said, matter-of-factly, that most of Pakistan’s radars “are focused more towards your side.”

On the streets of Pakistan, among ordinary people, India provides less cause for concern.

Mohammed Hanif, a Pakistani journalist and the author of the novel “A Case of Exploding Mangoes,” a satire of Pakistan’s military, said in an interview: “People of Pakistan don’t wake up in the morning fearing an Indian attack. They wake up fearing a bomb going off in a mosque or a bazaar. But Pakistan’s army’s reason for existence is India. Even after fighting its own Muslim brothers on its own turf for 10 years, and losing more soldiers than it ever has in a confrontation with India, Pakistan’s army remains India-centric.”

The Indian government understands the complexities of Pakistan, but the average Indian sees no distinction between those who control Pakistan and its people. He imagines a nation that blasts Indians to bits. That is unfortunate, because Indians who travel there are struck by the aspiration of ordinary Pakistanis to be warm to Indians. And Pakistan is a vastly different country from what most Indians imagine.