On 08/26/11 09:05, Matthias Melcher wrote:
> If anyone has code that can act as a frontend to command line tools,
> and that can handle stdin, stdout, stderr, and signals simultaneously,
> please send code ;-). I need some kind of simple FLTK text terminal.
This is as close as I'd ever gotten to that:
http://seriss.com/people/erco/fltk/#SimpleTerminal
It's pretty much a dumb terminal; you can only append,
and of course it doesn't understand ANSI sequences.
But it does handle stdin,out,err.
For signals, I can't remember if things like ^C and ^Z pass thru
to the shell in a way that it recognizes, but I suppose you can
always handle() them if they don't, and send the appropriate kill()
to the child process.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev