resource wanted - print control / color codes
-
After putting "bluetoothctl" command into "terminal", yes Linux , I have the following plain text in "terminal".
bluetoothctl Agent registered [bluetooth]#
This is my current output as seen by my C++ code.
linea: "Waiting to connect to bluetoothd...\u001B[0;94m[bluetooth]\u001B[0m# \u001B[0;94m[bluetooth]\u001B[0m# Agent registered" linea: "\u001B[0;94m[bluetooth]\u001B[0m# "
I am looking / asking for assistance finding the resource / documentation where the "control codes" are described. ( I am NOT asking for code ) I couldn't find anything close to them in "printf". I am not sure what application is processing the "bluetoothctl" command , perhaps "bash"? It really does not matter - all I need is link to whatever app is putting these " control codes " in so I can write my C code to delete them. Thanks
-
After putting "bluetoothctl" command into "terminal", yes Linux , I have the following plain text in "terminal".
bluetoothctl Agent registered [bluetooth]#
This is my current output as seen by my C++ code.
linea: "Waiting to connect to bluetoothd...\u001B[0;94m[bluetooth]\u001B[0m# \u001B[0;94m[bluetooth]\u001B[0m# Agent registered" linea: "\u001B[0;94m[bluetooth]\u001B[0m# "
I am looking / asking for assistance finding the resource / documentation where the "control codes" are described. ( I am NOT asking for code ) I couldn't find anything close to them in "printf". I am not sure what application is processing the "bluetoothctl" command , perhaps "bash"? It really does not matter - all I need is link to whatever app is putting these " control codes " in so I can write my C code to delete them. Thanks
\u001B is an "escape" (27).
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
-
After putting "bluetoothctl" command into "terminal", yes Linux , I have the following plain text in "terminal".
bluetoothctl Agent registered [bluetooth]#
This is my current output as seen by my C++ code.
linea: "Waiting to connect to bluetoothd...\u001B[0;94m[bluetooth]\u001B[0m# \u001B[0;94m[bluetooth]\u001B[0m# Agent registered" linea: "\u001B[0;94m[bluetooth]\u001B[0m# "
I am looking / asking for assistance finding the resource / documentation where the "control codes" are described. ( I am NOT asking for code ) I couldn't find anything close to them in "printf". I am not sure what application is processing the "bluetoothctl" command , perhaps "bash"? It really does not matter - all I need is link to whatever app is putting these " control codes " in so I can write my C code to delete them. Thanks
-
After putting "bluetoothctl" command into "terminal", yes Linux , I have the following plain text in "terminal".
bluetoothctl Agent registered [bluetooth]#
This is my current output as seen by my C++ code.
linea: "Waiting to connect to bluetoothd...\u001B[0;94m[bluetooth]\u001B[0m# \u001B[0;94m[bluetooth]\u001B[0m# Agent registered" linea: "\u001B[0;94m[bluetooth]\u001B[0m# "
I am looking / asking for assistance finding the resource / documentation where the "control codes" are described. ( I am NOT asking for code ) I couldn't find anything close to them in "printf". I am not sure what application is processing the "bluetoothctl" command , perhaps "bash"? It really does not matter - all I need is link to whatever app is putting these " control codes " in so I can write my C code to delete them. Thanks
-
After putting "bluetoothctl" command into "terminal", yes Linux , I have the following plain text in "terminal".
bluetoothctl Agent registered [bluetooth]#
This is my current output as seen by my C++ code.
linea: "Waiting to connect to bluetoothd...\u001B[0;94m[bluetooth]\u001B[0m# \u001B[0;94m[bluetooth]\u001B[0m# Agent registered" linea: "\u001B[0;94m[bluetooth]\u001B[0m# "
I am looking / asking for assistance finding the resource / documentation where the "control codes" are described. ( I am NOT asking for code ) I couldn't find anything close to them in "printf". I am not sure what application is processing the "bluetoothctl" command , perhaps "bash"? It really does not matter - all I need is link to whatever app is putting these " control codes " in so I can write my C code to delete them. Thanks
They are ANSI escape codes for colors, etc. See, for example, ANSI Escape Codes · GitHub[^]
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012