Libyan ruler Col Muammar Gaddafi is battling to retain control of Tripoli and areas in western Libya as protesters consolidated gains in the east and foreigners continued to flee.
Much of the capital is deserted as pro-Gaddafi gunmen roam the streets, with reports of uprisings in western towns such as Misurata, Sabratha and Zawiya.Masses of protesters have been celebrating success in eastern towns.
Thousands of foreigners continue to leave, with chaos at Tripoli airport.
At least 300 people have died in the country's uprising.
'Many deaths' An eyewitness in Tripoli said that the city was virtually closed, with many people hoping protesters and defecting soldiers would arrive from the east to help them.
A text message had been sent out by government officials telling civil servants and other workers to return to their jobs but many people are too scared to go on to the streets.
At the scene
There are mounting accounts of what appears to be killings by paramilitary troops and bodies being immediately dumped in their trucks or cars, as well as all the evidence of shooting being cleared, bullet shells being picked up and blood washed down with water in the street.There was one such case reported in front of the state television headquarters. Four people were killed there and one of them was shot at point blank range.
All banks and shops remain closed. There was a text message that was sent out on Wednesday morning to users of state mobile phone networks telling everyone, civil servants and private workers, to go back to work.
But all foreign companies have halted operations and the people here don't understand how they can be expected to go to work because of the dangers of travel.
One Tripoli resident said: "I hope residents don't go to work - this can be our way of a peaceful protest - we will all stay at home indefinitely."
There were reports of gunmen opening fire on Tuesday morning on a queue of people at a bread shop in the Fashloum district, where there has been a heavy military crackdown, with three people killed.Two naval gunships are reported to have been deployed facing the city.
A Tripoli citizen told BBC Arabic that the only people on the streets were police, soldiers and African mercenaries but that the opposition was in touch with cities in the east that had fallen to protesters and a march was planned for the capital on Thursday.
Another Tripoli resident said: "Anti-government protesters have disappeared. The streets are quiet. There are many, many deaths."
The resident also said doctors were reporting gunmen shooting people in hospitals.
Information from Libya is currently difficult to verify and reports cannot often be independently confirmed.
The BBC's Paul Danahar on the Tunisian border says unconfirmed reports suggest several towns between the border and Tripoli have seen anti-government protests but the roads in between are held by people loyal to Col Gaddafi.
Troops are said to have been sent to Sabratha after demonstrators burned government buildings, according to the Quryna news website.
The pre-Gaddafi Libyan flag was also reportedly raised in Zawiya, 50km (30 miles) west of Tripoli while other unconfirmed reports said protesters had seized control of Misurata, 200km east of Tripoli, after days of fighting.
One Tunisian man who crossed from Libya told our correspondent there was no law in the country and added: "God help them".