Could someone run me through the bytes in the ansi escape sequences... I'm coding with pen and paper at the moment, and all the ansi tutorials list the codes as ESC[.... I need to see the actual bytes in the stream. Would one of you gurus with unlimited amount of time devoted to retards like me like to exemplify one or two sequences in bytes? Big thanks!
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
The first Google image hit for "ascii table". You're welcome. Just match the characters in the tutorial with the red characters, and take the corresponding hex value!
回答2:
Escape is 0x1B and [ is 0x5B, so you want 1B5B.
回答3:
You may look for ANSI Sequences to color a terminal (maybe telnet?). I only got a Link for it: Ansisequences...