Complex sentence: Villages and towns produced just enough for their own support, with little or no surplus to be "sold" to other areas.
Split into simpler sentences: Villages and towns produced just enough for their own support. Nothing was "sold" to other areas.