It's important to note that each specific terminal can have different control codes. The xterm ended up being the de facto standard but it's probably not a rule.