mirror of
https://github.com/d99kris/nmail.git
synced 2026-04-26 17:56:00 +03:00
[GH-ISSUE #59] [Bug] ext_viewer_cmd option can't use terminal-based readers #57
Labels
No labels
bug
enhancement
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nmail#57
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sc0ttj on GitHub (Nov 19, 2020).
Original GitHub issue: https://github.com/d99kris/nmail/issues/59
I have tried to set
ext_viewer_cmdto use various terminal-based programs to view attachments...And have encountered some bugs/issues:
ext_viewer_cmdcan't take commands with spaces, even in quotes (ext_viewer_cmd="bat -p")nmailAbout point 2 specifically:
All of the below is using
mlterm.. But I also triedxtermandst. All terminals behaved the same.Using
ext_viewer_cmd=w3m:Qkey to return to nmail..Using
ext_viewer_cmd=bat:qto return to nmail, it just quits back to terminalUsing
ext_viewer_cmd=micro:qto quit nmail (cant see it so don't know what else to do)Using
ext_viewer_cmd=lynx:Same as
micro(except I usedqyto quit).Using
ext_viewer_cmd=less:Same as
micro(except I usedqto quit).All of this is on FossPup64 .. (largely based on Ubuntu packages)
@d99kris commented on GitHub (Nov 20, 2020):
Hi @sc0ttj - thanks for the detailed bug report!
I'm able to reproduce the problem using
ext_viewer_cmd=w3mon macOS.External pager and editor already supports console-based external applications, so it should be fairly simple to fix.
@d99kris commented on GitHub (Nov 20, 2020):
I've pushed a fix for this now. Feel free to reopen this issue if you're still encountering any issues.
Thanks again for reporting the bug and helping to improve nmail!