People gazed at the sky in wonder and cheered while others knelt in prayer as a total eclipse of the sun unfolded over Indonesia today.