[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mime



> |> how do i tell mime programs (nmh) to use less not xterm?
> |see mhshow man page and mhn.defaults (maybe /usr/local/lib/nmh/mhn.defaults)
.
> 
> Correct, but the expedient fix is generally "export MM_CHARSET=iso-8859-1"
> or equivalent in your shell.

wow, I didn't know MH commands check such a environment variable (-:
I find MM_CHARSET is described on "man mhshow":

  Showing Alternate Character Sets
       Because  a  content  of  type text might be in a non-ASCII
       character set, when mhshow encounters a "charset"  parame-
       ter  for this content, it checks if your terminal can dis-
       play this character set  natively.   Mhn  checks  this  by
       examining the the environment variable MM_CHARSET.  If the
       value of this environment variable is equal to  the  value
       of  the charset parameter, then mhshow assumes it can dis-
       play this content without any additional setup.   If  this
       environment  variable  is  not  set,  mhshow will assume a
       value of "US-ASCII".  If the character set cannot be  dis-
       played natively, then mhshow will look for an entry of the
       form:
    (...omitted...)

-- yozo.