In a 4 to 6-quart pan, bring water and salt meat to boil. Add peas or butter beans and chopped onions. Lower heat to medium and cover pot. Cook 2 hours, until tender, but not mushy. During cooking time, more salt and pepper or water may be added, if needed.