calcurse: notification.command freezes interactive mode UI
calcurse 4.7.0 from Arch package, see config here: https://github.com/lfos/calcurse/issues/325#issuecomment-720140664
- Set up
$notification.command - Open
calcurseinteractive mode (in tmux). - Wait until
$notification.warningtime (here: 5 minutes). - Notification is displayed in bottom bar.
- The rest of the UI freezes. Keystrokes still work, but changes are not displayed. This leaves interactive mode useless (and dangerous), it needs to be restarted.
On a related note: When restarting calcurse between notification time and the event, the UI is still frozen. And $notification.command is executed twice (more).
About this issue
- Original URL
- State: open
- Created 4 years ago
- Comments: 19 (11 by maintainers)
Commits related to this issue
- Redirect standard descriptors for hook/notify commands Disconnect stdin, stdout and stderr when running an external hook or notification command. The previous solution of appending "<&- >&- 2>&-" to ... — committed to lfos/calcurse by deleted user 3 years ago
- Call setsid() for hook/notification commands We do not want hook or notification commands to interact with the terminal in any way. Create a new session for them. Addresses GitHub issue #326. Signe... — committed to lfos/calcurse by deleted user 3 years ago
@ilf There are a couple of commits in
puthat should prevent external commands from interacting with the terminal (without the need for any workaround).