FR: provide non-function-key shortcuts for all csysdig operations
Currently several of the function keys have alternate keys which do the same thing, e.g. e instead of F5, q instead of F10. This is awesome, but some are missing alternate keys: F2, F3, F7, and F8. It is beneficial to have alternates for all keys, for at least two reasons:
- Function keys are less convenient to type, because it's usually impossible to find the right key without looking at the keyboard. This is particularly annoying for touch-typists ;-)
- The user might be running
csysdigon a terminal which has issues correctly handling function keys.
I see your point, but on the other hand, keyboard keys are a limited resource, especially since csysdig's action functionality can potentially need many of them. As a consequence, I prefer to have alternative hotkeys only for common and useful operations. This is, by the way, consistent with other tools like htop.
Among the operations you suggest in this issue, I think the only one that deserves an alternate key is F2. OK?
One admittedly very small use case where function key alternatives would be useful is when using a terminal emulator in the browser where function keys are unavailable.
On Dec 13, 2015, at 3:12 PM, Loris Degioanni [email protected] wrote:
I see your point, but on the other hand, keyboard keys are a limited resource, especially since csysdig's action functionality can potentially need many of them. As a consequence, I prefer to have alternative hotkeys only for common and useful operations. This is, by the way, consistent with other tools like htop.
Among the operations you suggest in this issue, I think the only one that deserves an alternate key is F2. OK?
— Reply to this email directly or view it on GitHub.
@ldegio wrote:
I see your point, but on the other hand, keyboard keys are a limited resource, especially since csysdig's action functionality can potentially need many of them.
Yes, that's a fair point. It's definitely worth trying to support simple keystrokes for as many actions as possible.
As a consequence, I prefer to have alternative hotkeys only for common and useful operations. This is, by the way, consistent with other tools like htop.
Sure, that's fine, e.g. noone should need to access the legend frequently.
Among the operations you suggest in this issue, I think the only one that deserves an alternate key is F2. OK?
Hmm not quite - I think actions (F8) definitely deserves an alternate key too.
@etown wrote:
One admittedly very small use case where function key alternatives would be useful is when using a terminal emulator in the browser where function keys are unavailable.
Right, that's the second item in my list above :-)
I'm unable to use any function key inside a Virt-manager/Qemu/KVM VM so I'm unable to use csysdig :-(
Currently, nor in VirtualBox :-(
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Well, it's clear the priority of this issue :_(
Maybe could be a good idea to add a configuration file to change the default key mapping. Maybe @q2dg could help on this? 😄 btw maybe I could help on tweak your vm environment to work with function keys 🤔
Thank you. I haven't the required skills to do this...I'm not developer, just a simple user.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Come on...