Add the sliced onion and reduce heat slightly (between medium and medium-low). Cook, stirring occasionally, until the onions soften and turn brown, 30 to 40 minutes. Meanwhile, trim the pear quarters to remove seeds, then cut into thin slices; set aside. When onions are done, sprinkle with salt and pepper to taste and set aside to cool to room temperature.