Thursday, December 6, 2018

Making your linux utilities smarter

The Linux Power Screen gets the command interface to Xchars, it is simple enough for utilities to call:

int CommandLoop(int *argc, void * argv[]);

with whatever script represents the structured text they return. No need for the control chars, call the Xchar method direct, Xnewscreen, Xstrout, Xclrsceen.  Give me these and you have 90% of any structured text I can generate.

So, that is available to utilities instead of
print_formatted_on_this_old_steel_carriage_thing();
Who names a char TAB? Like giving a tip or something. Or carriage return, the actual name for "\n". And they never returned, I tell you, they slammed metal and ink into that paper, you ain't returning, I tried, no clrscreen.


No comments: