Hi.

        I'm happily using gentoo's mutt-1.5.21 with a 256-color terminal,
        mostly under tmux.  My mutt colorscheme uses 256 colors and they are
        showed perfectly.

        I'd like to display image previews using unicode block characters,
        in the mutt pager, using something like img2xterm
        [https://github.com/rossy2401/img2xterm#] in conjunction with a
        proper mailcap entry.

        Outside of mutt, img2xterm displays the image in full 256 colors.
        Inside mutt, it seems the escape codes for 256 colors don't get
        recognized and blinking block junk gets displayed instead.
        allow_ansi is turned on in .muttrc and the ANSI escape codes for
        good ol' 16 colors work fine in a similar scenario.

        Is there something I can do to make mutt recognize 256 color ANSI
        codes inside its pager?

        Also, is there a way inside mutt to strip the ANSI codes created by
        an autoview-spawned command before relaying the message to an
        external editor?

        Attached to this mail is a typical 256-color ANSI-code output from
        img2xterm.

        Thanks,



-- 
 --====|====--
    --------================|================--------
        Patrice Levesque
         http://ptaff.ca/
        mutt.wa...@ptaff.ca
    --------================|================--------
 --====|====--
--
â–„â–„â–„â–„â–„â–„
 
â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„
 
â–„â–„â–„â–„â–„
 
â–„â–„â–„â–„â–„â–„
â–„ 
â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„
 â–„â–„â–„ 
â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„
 
â–„â–„â–„â–„â–„
â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„
 
â–„â–„â–„â–„â–„â–„â–„â–„â–„
 â–„â–„â–„â–„ 
â–„â–„â–„â–„â–„
 
â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„
 â–„ 
â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„
 
â–„â–„â–„â–„â–„â–„
 â–„â–„
â–„â–„â–„â–„â–„â–„â–„
 â–„â–„â–„ 
â–„â–„â–„  
â–„â–„â–„â–„â–„â–„â–„â–„â–„
 
â–„â–„â–„â–„
 â–„ 
â–„â–„â–„
▄▀▀▀▀▄▄▄▄▄▄▄▄
  
â–„â–„â–„â–„
 â–„â–„â–„ 
â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„
 
â–„ 
â–„â–„â–„â–„â–„
 â–„ 
â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„
 â–„
â–„ 
â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„
 
â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„
 â–„â–„
â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„
 
â–„â–„â–„â–„â–„â–„â–„â–„
 â–„â–„â–„
â–„â–„â–„â–„â–„â–„â–„â–„
 â–„â–„  
â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„
 
â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„
â–„â–„â–„â–„â–„â–„â–„â–„â–„
 
â–„â–„â–„â–„â–„â–„
 
â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„
â–„â–„â–„â–„â–„
   
â–„â–„â–„â–„â–„â–„â–„â–„â–„
 
â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„
 â–„â–„â–„â–„
â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„
 
â–„â–„â–„â–„â–„â–„â–„
 â–„ 
â–„â–„â–„â–„â–„â–„â–„â–„â–„
  â–„â–„
â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„
 â–„ 
â–„â–„â–„â–„â–„â–„â–„â–„â–„
 â–„ 
â–„â–„â–„â–„
â–„â–„â–„â–„â–„â–„â–„
 
â–„â–„â–„â–„
 
â–„â–„â–„â–„â–„â–„
 â–„ 
â–„â–„ 
â–„â–„â–„ 
â–„â–„â–„ â–„ 
â–„â–„
â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„
 â–„ 
â–„â–„â–„ 
â–„â–„â–„  
â–„â–„â–„ 
â–„â–„ 
â–„â–„â–„â–„â–„â–„
â–„â–„â–„â–„â–„â–„
  
â–„â–„â–„â–„â–„â–„
 
â–„â–„â–„â–„â–„
 â–„â–„ 
â–„â–„â–„â–„â–„â–„
 
â–„â–„â–„â–„â–„â–„
â–„â–„â–„â–„
  â–„ 
â–„â–„â–„â–„
 
â–„â–„â–„â–„
 â–„â–„â–„ 
â–„â–„â–„â–„
 
â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

Attachment: signature.asc
Description: Digital signature

Reply via email to