Hello Hariskar. (Just quick note, be back in a few hours..)
Χάρης Καραχριστιανίδης wrote in <20230225132925.igpgb%[email protected]>: |Χάρης Καραχριστιανίδης <[email protected]> wrote: |> lynx doesn't recognise Greek iso-8859-7 characters whatever options \ |> I tried (assume_charset, assume_local_charset, assume_unrec_charset) \ |> so I installed w3m (it shows Greek characters) and uninstalled lynx. \ |> I put in .mailcap: |> text/html; w3m -H %s; nametemplate=%s.html |> text/plain; w3m -H %s |> Most of emails open in less but when I try to open some of them they \ |> don't open and this message appears: |> s-nail: Forking child with spawn control: /bin/bash -c $'lynx -dump \ |> -assume_charset=\'UTF-8\'charset} "${MAILX_FILENAME_TEMPORARY}"' |> /bin/bash: line 1: lynx: command not found |> |> I have no relevant setting in .mailrc. Why is lynx called? How can \ |> I make w3m be called for this (or how can I make lynx read Greek \ |> iso-8859-7 characters?) Should show you the actually used cache. In general (as per manual section "HTML mail and MIME attachments") the lookup order is pipe-EXTENSION, pipe-TYPE/SUBTYPE, mailcaps, mimetype type-markers. Maybe you still have a pipe-text/html thing set? |lynx is called form /etc/mailcap which is not overriden from ~/.mailcap.. Mailcap files are searched in $MAILCAPS order: ? varshow MAILCAPS set MAILCAPS=~/.mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap So your personal file should be matched first. (You could override this if you need to.) ? mailcap --End of <20230225132925.igpgb%[email protected]> Ciao! --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)
