Gaddafi unflinching as rebel city fears counter-attack