Not quite the same as above but Doolally, which originally was called "Doolally tap"- meaning to lose ones mind, came from the Deolali British Army tansit camp in India and the boredom all the soldiers felt there. The tap part of it could be derived from the Sanskrit word "tapa" - meaning heat or fever.