India has had a long history of standoffs with China, given their long and unsettled border. On one occasion it has led to war, on others, skirmishes and artillery duels. But in the past 40 years, the confrontations have been carefully choreographed through a series of Confidence Building Measures to ensure that the two countries do not end up shooting at each other.