Rocks, teargas, firebombs and gunfire made darkened streets in central Cairo a battle zone on Wednesday as hard-core protesters demanding an immediate end to army rule fought riot police around government buildings close to Tahrir Square.

After six days of violence that has killed more than 30 and four days before voting for parliament begins, there was no sign of an end to the confrontation between Egypt's military rulers and liberals keen to complete a revolt that ousted Hosni Mubarak in February by installing an interim civilian administration.

In the relative calm of the tents and aid stations set up by the mostly young demonstrators at the centre of the square, some spoke of several deaths on Wednesday from gunfire or gas, but the accounts could not be reconciled or confirmed. The army had made no move to clear Tahrir, a bastion of the Arab Spring.

Despite concessions on Tuesday by Field Marshal Mohamed Hussein Tantawi and the Supreme Council of the Armed Forces - a presidential election next year, six months sooner than planned, a new interim government and a commitment to allow the free vote for parliament - the demonstrators have not been satisfied.

They see Tantawi's deal, struck with politicians including the Islamist Muslim Brotherhood that expects to do well in the coming polls, as a ploy to stall civilian control and, some argue, to maintain the army's vast economic interests.

The numbers involved, however - thousands in Cairo and other cities - are far short of the millions who rallied against the stagnation and corruption of Mubarak's 30 years. The fellow generals who edged him aside seem to reckon most Egyptians will prefer to maintain a six-decade-old habit of military rule at least until a presidential election they have now set for June.

CLASHES ERUPT

In late afternoon, police - long objects of fear and dislike for Egyptians compared to soldiers, who command respect - pulled back from positions around the Interior Ministry a couple of blocks from the square. It seemed an effort to calm tension.

But clashes erupted after nightfall as the security forces showered tear gas on stone-throwing demonstrators and fired guns into the air. Protesters stampeded back towards Tahrir Square.

Ambulances, sirens wailing, ferried casualties away while smoke billowed over the area from fires lit by youths.

Gunfire rang out repeatedly, fuel-filled bottles erupted in flames and riot police filled the street in front of their main position with round after round of tear gas, driving protesters, coughing, into side streets. Every so often, the demonstrators regrouped and would again edge towards the ministry.

Several people gave accounts of people shot dead but these could not immediately be verified. At a makeshift clinic, doctor Tarek Salem said four people had died there on Wednesday, two from bullet wounds and two from asphyxiation.

Vendors on the square were still selling everything from snacks to face masks for protection against wafting tear gas. Fatihia Abdul Ezz, a 60-year-old woman, said she had come to the square for the first time after seeing images of violence.

They were with Mubarak from the start, she said of Tantawi and his colleagues. I came when I saw our sons being killed.

Protesters unfurled a huge sign denouncing Tantawi, who was Mubarak's defence minister for two decades, and his deputy Sami Enan, along with the rest of the ruling SCAF military council.

Down, down with military rule. We the people are the red line. The people want to bring down the field marshal, Sami Enan and the military council, it read.

One man walked around the square holding aloft 10 spent tear gas shells, along with cartridge casings threaded on a string.

The overall death toll has reached 38 by a Reuters count after a man was killed in Alexandria and another died in what the state news agency MENA said was an attack on a police station in the northern town of Marsa Matrouh.

The Health Ministry said 32 people had been killed and 2,000 wounded in disturbances across the country of 80 million.

MILITARY RULE

The military had originally promised to return to barracks within six months of Mubarak's removal. Its apparent reluctance to relinquish its power and privilege has fuelled frustration among Egyptians who feared their revolution had changed nothing.

Tantawi brought forward a presidential vote that had been scheduled for late 2012 or early 2013 after generals had on Tuesday met politicians, including leaders of the once-banned Muslim Brotherhood, which is eager to turn decades of grassroots endeavour into electoral success.

A parliamentary election, billed as Egypt's first free vote in decades, will start on Monday as planned, Tantawi confirmed.

Voting for the upper and lower houses will be completed only in March under a complex, staggered process. Parliament will then pick an assembly to draw up a new constitution, an exercise which the Brotherhood and its rivals are keen to influence.

France added its voice to those of U.N. and rights groups in denouncing the military's handling of the protests.

French Foreign Ministry spokesman Bernard Valero said his country strongly condemns the excessive use of force against demonstrators and called for elections to go ahead on time.

United Nations human rights chief Navi Pillay called for an independent investigation into the bloodshed, saying the killing of protesters was inflaming the crisis. [ID:nL5E7MN1TR]

I urge the Egyptian authorities to end the clearly excessive use of force against protesters in Tahrir Square and elsewhere in the country, including the apparent improper use of tear gas, rubber bullets and live ammunition, Pillay said.

REFERENDUM

Tantawi angered many youthful demonstrators by suggesting a referendum on whether military rule should end earlier, which they took as a ploy to undermine their cause by appealing to the many Egyptians who fear further upheaval.

We have to wait and be patient with army rule. We shouldn't have a referendum. It's a waste of time, said Mohamed Rasheed, 62, a salesman in a Cairo jewellery shop, who pointed to discordant opinions among protesters in Tahrir.

If we listen to them all, we are going to become like Lebanon, he said, evoking a nation notorious for conflict.

Tantawi may calculate that most Egyptians, alarmed by turmoil that has hammered an already troubled economy, would prefer army rule to the uncertainties of a radical upheaval.

The Muslim Brotherhood, which helped organise a big protest on Friday but stayed out of subsequent demonstrations, seems willing to compromise with the military in the interest of securing a substantial voice in the new parliament.

Some other Islamist and liberal parties, as well as three out of more than 10 declared presidential candidates, also took part in Tuesday's crisis talks with the military council.

Tantawi has promised a national salvation government to replace Prime Minister Essam Sharaf's cabinet, which resigned this week, but remains in a caretaker role.

Political uncertainty has battered Egypt's finances. Foreign reserves have tumbled to $22 billion in October from $36 billion in December, just before the anti-Mubarak uprising erupted.

Egypt's currency dipped to its lowest level in almost seven years on Wednesday and the yield on an Egyptian dollar bond soared to its highest since March, suggesting that investors are unconvinced that stability will return soon.

(Additional reporting by Tom Miles in Geneva, John Irish in Paris, Maha El Dahan, Marwa Awad, Patrick Werr, Edmund Blair, Tom Pfeiffer, Alastair Macdonald, and Tamim Elyan in Cairo; Writing by Alistair Lyon and Alastair Macdonald)