snapcrafters/mutt

Error opening terminal: rxvt-unicode-256color

Closed this issue · 5 comments

przmv commented

I'm using Debian stretch as my host OS.

I've just installed mutt:

$ sudo snap install mutt

When I try to open it, I get the following error message:

$ which mutt
/snap/bin/mutt

$ mutt
Error opening terminal: rxvt-unicode-256color.

It starts OK when I run mutt as the following:

$ TERM=xterm mutt

However, I'd like to have a way to use the actual terminfo.

popey commented

Thanks for the bug report. I did a little research. It looks like the terminfo file could be loaded if placed in the home directory of the mutt snap which is ~/snap/mutt/common. I guess this from this blog post. http://alemani.com/urxvt-unknown-terminal-type-with-ssh/

Worth a try?

przmv commented
przmv commented

Oh, I've just realized that symlinking won't work because the snap has no access to the host filesystem. When I copied the /usr/share/terminfo directory mutt no longer complains on my terminal.

popey commented

Ok, good to know. Do we need to bundle the terminfo files inside the snap, I wonder?

Fixed in f5754bb