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

Add support for disconnect/reconnect via CLI resp. signals #12

Open
the0ne opened this issue Aug 23, 2019 · 2 comments
Open

Add support for disconnect/reconnect via CLI resp. signals #12

the0ne opened this issue Aug 23, 2019 · 2 comments

Comments

@the0ne
Copy link

the0ne commented Aug 23, 2019

Hi @phako first of all I'd like to say it's fantastic you refresh gtk-term which I use a lot =)

I always wished to have a command-line interface for gtk-term so that I could - from a script - disconnect, flash the usb-device and then reconnect the terminal.
I thought about using signals USR1 (connect) and USR2 (disconnect) but never found the time to start implementation.

What do you think about this proposal?

@phako
Copy link
Owner

phako commented Aug 28, 2019

Yes but no. Yes, sounds nice, no, no UNIX signals. I think it is easier (and cleaner) to add actions to the GApplication that will then be remotely callable using the app (That's just standard GLib stuff so basically for free). But that needs some further clean-up of the app, i.e. single instance, multiple windows

Btw. There is also https://github.com/Jeija/gtkterm which is a bit less intrusive

@the0ne
Copy link
Author

the0ne commented Sep 24, 2019

Added to gtkterm as wvdakker/gtkterm@2511ec2

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

No branches or pull requests

2 participants