Resource-rich countries hoping oil will rebound from a $100 crash will not relinquish overnight the power that came with record prices, but relations between international firms and state-run companies have begun to thaw.

The price weakness of the 1990s, which culminated in a drop to around $10 a barrel in 1998, provided the context for deals on ultimately untenable terms. They were torn up when rising prices shifted the balance of power back to state firms.

Oil at around $40 now, down from a record near $150 last July, is more likely to help build bridges between state companies and foreign firms than to spur bargain-basement deals.

Nobody really thinks we're going to stay low ... We'll only see a change in behavior when that expectation is not there, said Andy Brogan, an oil and gas specialist at Ernst & Young.

That said, around the edges we are seeing a bit of a softening. Certainly, we're not seeing a wholesale change in attitude, added Brogan, who is in contact with national and international oil firms, as well as governments.

Sources at big oil companies also said much would depend on how long prices stayed weak, which depended in turn on the extent of the global economic weakness. But the bottom line was those sitting on resources had power even in a buyers' market.

If you're a resource-owner, the terms you are willing to consider may change, said one oil company source.

But no matter what the price of the oil and gas, it does not change the physical location. If you are the resource-owner, you are still the resource-owner.

THINKING THE UNTHINKABLE

Just as the international oil companies are waiting to see how long the downturn and its consequences will last, some resource-holders say it is far too soon to consider more generous terms.

Talking about better terms is thinking the unthinkable, said Shokri Ghanem, head of Libya's National Oil Corporation (NOC). It is too early to do anything. This is a crisis that will pass.

In Libya, home to Africa's biggest oil reserves, oil firms have lined up for deals after years of sanctions, while Libya has adopted an increasingly tough negotiating stance.

French oil major Total (TOTF.PA: Quote, Profile, Research, Stock Buzz) has agreed to halve its 75 percent stake in two Libyan oil blocks as part of a contract renewal with the country's NOC announced this month.

A spokesman for Total declined to comment on whether the change was linked to a drive by Tripoli to renationalize its oil.

Other companies have said they see no real possibility of renationalization.

Libya still needed international cooperation, they said, when even the arch exponent of resource nationalism Venezuela had toned down its rhetoric as cheaper oil had strained its ambitious social spending plans and added to its debts.

Only last year, Venezuela broke off commercial ties and halted the supply of crude and petroleum assets to Exxon Mobil Corp (XOM.N: Quote, Profile, Research, Stock Buzz) in a fight over Exxon's demand for compensation after President Hugo Chavez seized a crude project.

Now Chavez is courting global oil companies to develop costly and complex tar-like reserves in the Orinoco belt.

Another fierce nationalist has been Russia, where the Pacific island of Sakhalin became symbolic of the Kremlin's drive to reassert control over its natural resources.

Royal Dutch Shell (RDSa.L: Quote, Profile, Research, Stock Buzz) was forced to cede control of the Sakhalin II liquefied natural gas project in 2007 to the state-controlled Gazprom (GAZP.MM: Quote, Profile, Research, Stock Buzz).

Shell was stung by Russia's action, but in an interview on the island this week, its Chief Executive Officer Jeroen van der Veer said the company was willing to discuss more projects with the Russian gas monopoly and possibly with other national firms.

If you look at our history, we have many partnerships with NOCs, not only Gazprom, he said.

Russia might well be more willing to listen, but its first deals in challenging times have been with China. Crucially, China has abundant cash. It also has a huge demand for energy and its own national oil company -- which needs reserves rather than has them to spare -- is able to take a longer view than oil majors answerable to shareholders.

The resource-seeking NOCs have the ability to take a very long-term view. China is taking a 20-year view, Brogan said.

China earlier this week signed a deal to lend Russian oil companies $25 billion in return for supplies for 20 years from East Siberian oilfields.

Long in the making, the deal was facilitated, analysts said, by financial crisis that has humbled Russia.

Shortly after the Russian deal, China signed an agreement with Brazil for the supply of 100,000-to-160,000 barrels per day at market prices in return for billions of dollars in investment to develop major reserves off Brazil's southern coast.

Similar deals between China and other resource-holders are expected to follow.

(Editing by James Jukwey)