Hi, is there a way to get viu running without a .mailcap file? (I have a basic rc file.). Thanks! Rob
On Mon, Jun 20, 2022, 1:02 PM Kevin J. McCarthy <ke...@8t8.us> wrote: > On Mon, Jun 20, 2022 at 12:19:13AM +0200, Andy Spiegl wrote: > >Hi, > > > >recently I discovered the command line program "viu" ( > https://github.com/atanunq/viu) > >which very nicely displays images in terminal windows. I added this line > to my .mailcap: > > > > image/*; viu -t -n %s ; copiousoutput > > The copiousoutput flag could be making a difference here. That will > cause Mutt to render the output of the command internally, which by > default will strip all ansi output. > > It sounds like you tried Oleg's suggestion, without the copiousoutput > flag, but I mention that just in case. > > If you really want to view it inside Mutt's pager, you could set > $allow_ansi. However, first be sure to read the documentation on that > option to make sure you understand the security issues. Second, I > recommend updating to at least Mutt 2.1, because that version added > support for 256-color ansi escape sequences. > > -- > Kevin J. McCarthy > GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA >