The wise thing to do would be to avoid this type of person. If he kept on with his shit then I would get the police involved. It is good that you stood your ground but when you come into contact with someone that is trying to fight then you must take care of business. A person that will pull a knife like that is a scared pussy and those types of people will kill. Someone said above that most people that pull knifes never use them, well how does one know that? As soon as you locked up with this guy you should have hurt him and let him know that encounters with you are not pleasant. You go for the nerve centers of the body like the nose, eyes, groin and ribcage and solar plexus If you know how to strike that area. In close contact you use the elbows and palms knees etc. If the motherfucker has you and you cant get loose then take his eye out of commission. If nothing else let off a toxic protein fart and stink that bitch back to the hood.
But I recomend to do the smart thing and avoid this looser. Is your time worth wasting on a nutcase like this?
Agent