andy-goryachev / FxTerminal

JavaFX-based terminal emulator
Apache License 2.0
1 stars 0 forks source link

Question: Will FxTerminal use native code or will it use other libraries with native code? #1

Closed PavelTurk closed 3 months ago

PavelTurk commented 3 months ago

I know that work on the project is in progress, but I just wonder if this project will use any native code to connect to OS console or it will use other libraries with native code (like pty4j)?

andy-goryachev commented 3 months ago

Thank you for a good question!

Native - no.

This is a public offspring of a closed source component used inAccessPanelPublic. The idea was to provide a javaFX view and a terminal emulator only. Perhaps add an API to allow for interfacing with Apache MINA or JSch. For a simple test, I could use stdout and sterr streams from the Process (the current state), but that still needs some kind of console emulator.

Apache MINA seems to be built on Netty, but now we have Virtual Threads in JDK and it probably makes little sense to use Netty.

So for now the development has stalled a bit until I decide what to do.

PavelTurk commented 3 months ago

@andy-goryachev Thank you for detailed answer.