Fill a pot for the pasta with about 6 quarts of water, cover, and place over high heat.
Put the butter in a 12-inch skillet and place over medium low heat. Add the onions and Sauté until they turn a rich golden color, about 5 minutes. Add the ham and continue cooking, stirring, until it is lightly colored.