Combine chili powder, pepper and salt. In a large saucepan, combine Ketchup, vinegar, water and onion and stir in dry mixture. Bring to rolling boil, reduce heat and cook uncovered 1 1/2 hours, stirring every 10 min.The mixture will reduce almost to half. Pour into sterilized jars and let rest for a few days.