Forum > Third party
UnTerminal, Unit for Console process control
Edson:
'Unterminal' is a Unit for implementing Control of Console Process in Lazarus with Prompt Detection.
This library, helps on control of the standard input/output of an process and have the states of BUSY or READY.
https://github.com/t-edson/UnTerminal
exdatis:
Thank you very much for your effort and sharing
Edson:
It's nothing. I use to create libraries, when develop some Apps. And some of then can be useful for other people, so I share it.
This library was intended for use in Telnet/SSH clients. But I have used too for a SQL client.
For working with Telnet/SSH, it includes a VT100 emulator (in the unit termVT.pas), that support the basic escape sequences. I have successfully implemented a Telnet client with it.
Roland57:
Very interesting! I made a test with a chess engine using the UCI protocol (instead of cmd.exe) and it worked perfectly.
There was just one line to replace in your example project:
--- Code: ---procedure TForm1.Button1Click(Sender: TObject);
begin
//proc.Open('cmd','');
proc.Open(txtProcess.Text, '');
end;
--- End code ---
Congratulations for that unit.
BigChimp:
Very interesting - shame it's GPL (instead of say modified LGPL like Lazarus LCL) though as it limits use to GPL programs, but of course that's your prerogative.
Navigation
[0] Message Index
[#] Next page