Re: Using "viu" to display attached images (SOLVED)

2022-06-27 Thread Cameron Simpson
On 22Jun2022 01:02, Andy Spiegl wrote: >Cool ideas. I started with defining a macro like that: > > macro index r "\ > unset implicit_autoview\ > " > >Works! But I don't know how to set it back afterwards, uhm. >I tried unsuccessfully: > macro index r "\ > unset implicit_autoview\ > \ > set impli

Re: Using "viu" to display attached images (SOLVED)

2022-06-27 Thread Andy Spiegl
Hi, I'd really appreciate help with this: > > Cool ideas. I started with defining a macro like that: > > macro index r "\ > unset implicit_autoview\ > " > > Works! But I don't know how to set it back afterwards, uhm. > I tried unsuccessfully: > macro index r "\ > unset implicit_autoview\

Re: Using "viu" to display attached images (SOLVED)

2022-06-21 Thread Andy Spiegl
Kevin J. McCarthy wrote: > For that you'd have to jury-rig something yourself, possibly by modifying > $mailcap_path, or using the 'test=' flag in mailcap, or altering auto_view > settings. Cool ideas. I started with defining a macro like that: macro index r "\ unset implicit_autoview\ " Wor

Re: Using "viu" to display attached images (SOLVED)

2022-06-21 Thread Kevin J. McCarthy
On Tue, Jun 21, 2022 at 01:06:56PM +0200, Andy Spiegl wrote: Kevin J. McCarthy wrote: Try setting TERM=xterm-256color, or add "xterm.termName: xterm-256color" to your .Xresources file Wow, you're great! That helped although I do not understand why. Running viu (or any other image to ansi con

Re: Using "viu" to display attached images (SOLVED)

2022-06-21 Thread Andy Spiegl
Kevin J. McCarthy wrote: > With $allow_ansi, Mutt will interpret ansi sequences _it understands_ and > convert them to curses calls. Interesting! This explains some of my observations. > Try setting TERM=xterm-256color, or add "xterm.termName: xterm-256color" to > your .Xresources file Wow, you'