[GH-ISSUE #1458] option output=logfile mangles screen display for ncurses programs (ie. mutt) #980

Closed
opened 2026-05-05 07:15:18 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @Boruch-Baum on GitHub (Aug 11, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1458

references:
[1] @chiraag-nataraj's comment to issue 1455

For firejail version 0.9.48 in debian, using mutt configured to edit with emacs client, with the command line invocation:

firejail --debug  --output=~/firejail.log --noblacklist=/usr/bin/emacsclient --noblacklist=/tmp mutt

1] The initial ncurses display in mutt displays partially and mangled.

2] Exiting mutt does not return to a $PS1 prompt until pressing RET.

3] The log file includes a mixture of output from firejail and from what should have been the mutt ncurses display, including control characters.

Originally created by @Boruch-Baum on GitHub (Aug 11, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1458 references: [1] [@chiraag-nataraj's comment to issue 1455](https://github.com/netblue30/firejail/issues/1455#issuecomment-321738549) For firejail version 0.9.48 in debian, using mutt configured to edit with emacs client, with the command line invocation: firejail --debug --output=~/firejail.log --noblacklist=/usr/bin/emacsclient --noblacklist=/tmp mutt 1] The initial ncurses display in mutt displays partially and mangled. 2] Exiting mutt does not return to a $PS1 prompt until pressing RET. 3] The log file includes a mixture of output from firejail and from what should have been the mutt ncurses display, including control characters.
gitea-mirror 2026-05-05 07:15:18 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@netblue30 commented on GitHub (Aug 13, 2017):

Bug! I was also redirecting stderr to the output file, and this was breaking ncurses screen. Thanks for the bug, I put a fix in git.

<!-- gh-comment-id:322043279 --> @netblue30 commented on GitHub (Aug 13, 2017): Bug! I was also redirecting stderr to the output file, and this was breaking ncurses screen. Thanks for the bug, I put a fix in git.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#980
No description provided.