I'm not familiar with how it worked out with the Algerians, and whether attacks on civilians were a deciding factor. Of course, similar situations still occur today, when you have a colonising power with overwhelming military superiority, and the dispossessed resort to attacks on civilians.