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

Pause and resume ? #1

Open
Gys opened this issue Mar 30, 2017 · 5 comments
Open

Pause and resume ? #1

Gys opened this issue Mar 30, 2017 · 5 comments
Labels

Comments

@Gys
Copy link

Gys commented Mar 30, 2017

Great idea ! Very useful :-)

An additional idea: I often use STOP and CONT to pause processes that take a lot of energy while I do not have power. To save power for things that I really need at that moment.

@heppu
Copy link
Owner

heppu commented Mar 30, 2017

Thanks @Gys!
Sending other signals sounds like nice idea. I want to keep the basic usage for sending TERM really simple so do you have and idea about the flow for sending other signals?
First thing that comes in my mind is shift + enter which would give the list of signals to send and would select one like you select the process.

@heppu heppu added the feature label Mar 30, 2017
@Gys
Copy link
Author

Gys commented Mar 30, 2017

Or a second enter ?
So first enter selects the process and then shows a list of possible signals. Default signal is TERM, but with up / down its possible to select another signal. Then the next return sends that signal to the selected process.
Seems easy in the way that the user does not have to know key combinations (like shift+enter). But it means to enter twice for a TERM. Although its still only two keys: twice the enter instead of shift+enter ;-)

@heppu
Copy link
Owner

heppu commented Mar 30, 2017

Hmm yeah that would be also a valid way to go. I would really like to keep to flow as simple as possible but on the other hand like you said then the user would have to know the key combination for sending other signals. I guess I need to implement both and do some evaluation. =)

@dszczyt
Copy link

dszczyt commented Jun 1, 2017

I would see a left/right keys binding to select the signal to send on enter.

@Gys
Copy link
Author

Gys commented Jun 1, 2017

@heppu Using left and right keys seems indeed a very good idea. Then there is no extra effort to terminate if that is the default action. Only in case something else is required, something extra has to be done.

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

No branches or pull requests

3 participants