ClementTsang / bottom

Yet another cross-platform graphical process/system monitor.
https://clementtsang.github.io/bottom
MIT License
10.35k stars 249 forks source link

Disable keypresses / controls with a flag #1489

Open crabdancing opened 5 months ago

crabdancing commented 5 months ago

Checklist

Describe the feature request

Bottom looks really nice and gives a good persistent overview of the system state. I'd like to be able to set it as a VT login app, and just configure it so that the controls are disabled -- such that I don't have to worry about anyone messing with it (accidentally or otherwise). This would be pretty nice for getting a gestalt impression of server status on dedicated monitors, and if it was a first-class supported feature, it reduces the security concerns considerably. :)

ClementTsang commented 5 months ago

Hmm... and how would it be stopped? Do we leave ctrl-c as an exit option, or just rely on pkill or the like?

crabdancing commented 4 months ago

I think for a use case like this, it should be unresponsive to controls including Ctrl+C. Should still respond to actual SIGINT signal sent from another process, though.