Cut onions into thin wedges. Heat butter in a large skillet over medium heat. Add onion, saute until browned, 10 to 15 minutes. Sprinkle with sugar. Stir in vinegar, salt, and pepper. Serve with cube steaks.