Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let's talk stdio! #46

Closed
martinhpedersen opened this issue Aug 24, 2022 · 2 comments
Closed

Let's talk stdio! #46

martinhpedersen opened this issue Aug 24, 2022 · 2 comments

Comments

@martinhpedersen
Copy link

Hi,

The gensio library looks like a very interesting and promising project. Although we haven't had much communication up until now, I've followed your Pat fork with great interest. The idea of having such a flexible and portable user-land AX.25+++ implementation is very tempting.

As previously stated, my main concern is the complexity of taking in such a large dependency chain in Pat. So a couple of days ago (in the shower of all places), it occured to me that this often is solved using micro services in backends. And in UNIX, the tradition is to build smaller composable apps talking to each other through pipes and sockets.

So how about if we could add gensio to the mix as a separate app which can be spawned by the host application, and communicate over stdio? Sort of like a netcat - a geniocat if you'd like 🤓.

The primary benefits would be to have independent release cycles and build systems for the two projects, much like we have with ARDOP and other soft modems. But still, from a user perspective it would be (mostly) transpartent as Pat would be able to spawn gensiocat under the hood when needed. All the user would need to do is to install the two separate apps.

Also, I'd imagine gensiocat would be useful in many other applications and a very good alternative to ax25-apps's call and listen.

We could talk raw stdio, or we could add a layer of AGWPE or similar to multiplex several connections. I guess the latter would be a good fit for AX.25, supporting simultaneous listen and connect(s) over the same KISS tty device.

Please let me know what you think of such an approach. Thank you!

@cminyard
Copy link
Owner

cminyard commented Aug 25, 2022 via email

@cminyard
Copy link
Owner

I think that AGWPE is the chosen path here, so I'm going to go ahead and close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants