
The lion kingdom originally wanted just a command line audio editor. It would draw the waveform in ASCII or embed monochrone graphics in the xterm, using the regis protocol or custom character sets.
XTerm does draw graphics in the same window as the text. It has to be compiled using configure --enable-regis-graphics
Then it has to be run as xterm -ti vt340
printf("\eP0p"
"S(C1)"
"S(M3(R100G0B0))"
"P[300,50]"
"V(B),[+100,+0],[+0,-10],"
"[-100,+0],(E)"
"P[300,200],"
"F(C[+100])"
"\e\\");
draws some simple graphics.
You might use this to have an embedded system draw graphics through a serial port.
It should be noted the regis protocol doesn't work inside the screen program. That wraps stdout in some other codes.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.