Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » PtyProcess, a pseudo-terminal process class for U++
PtyProcess, a pseudo-terminal process class for U++ [message #51637] Mon, 22 April 2019 20:25 Go to next message
Oblivion is currently offline  Oblivion
Messages: 928
Registered: August 2007
Experienced Contributor
Hello,

While I was writing the TerminalCtrl (which is almost finished, I'm polishing the code) I needed an efficient and easy-to-use pseudo-terminal process to test it.

And instead of reinventing the wheel I decided to modifiy the code of LocalProcess.


In time it became a Unix98 style (pretty much standard nowadays) pty process class.

It can run a whole shell (e.g sh or bash) or it can run single app that requires terminal environment.

Currently it is only supported on POSIX range. But I will add Windows ConPty (Windows' new console) support too.


As usual you can access the code from my git repo.


https://github.com/ismail-yilmaz/upp-components/tree/master/ Core/PtyProcess


Feedbacks are welcome,


Best regards,
Oblivion


[Updated on: Mon, 22 April 2019 20:30]

Report message to a moderator

Re: PtyProcess, a pseudo-terminal process class for U++ [message #55080 is a reply to message #51637] Fri, 09 October 2020 10:34 Go to previous message
Oblivion is currently offline  Oblivion
Messages: 928
Registered: August 2007
Experienced Contributor
Hello,

The standalone version of PtyProcess class is now updated and synced with the Terminal/PtyProcess.

Changes/improvements:

- Supports both POSIX pty and Windows 10 pseudoconsole APIs.
- Fixed I/O synchronization issues.
- Docs are updated.


If you have any questions, suggestions, bug reports, let me know.

Best regards,
Oblivion


[Updated on: Fri, 09 October 2020 10:35]

Report message to a moderator

Previous Topic: Tree container - compile error when using Add()
Next Topic: RasterCtrl - Opening image using StringStream
Goto Forum:
  


Current Time: Thu Oct 21 07:27:32 CEST 2021

Total time taken to generate the page: 0.01384 seconds