In macOS Terminal.app how can I issue a command similar to
caffeinate that keeps all running applications from quitting?
In my System Preferences I have Energy Saver to: computer sleep-never and Display sleep-never, I even have
caffeinate issued in the terminal.
After a while of no keyboard or mouse activity the screen will go to login mode. All apps like Excel and Mail have quit except those that required a save.
Even Terminal is asking if I really want to quit. I want all to be as if I were touching my keyboard every few minutes so not even the login screen shows and Excel never quits.