nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] nmh not using w3n or elinks

2014-05-15 09:26:37
I installed w3n and elinks but nmh is not using them:

      /gad/tmp cd /usr/bin
      /usr/bin ls -ltu w3m elinks lynx
      -rwxr-xr-x 1 root root 1408912 May 15 06:05 lynx
      -rwxr-xr-x 1 root root 1307576 May 13 03:18 w3m
      =rwxr-xr-x 1 root root 1261776 May 13 03:18 elinks


So I guess I have to reinstall?  Do I also have to rebuild. Do I also have to
reconfigure? I will attach etc/nmh.defaults .

.... so it looks like it's only using lynx right now.  As David points
out, it can really only use one.  This is what you have right now:

mhshow-show-text/html: charset=%{charset}; %p/usr/bin/lynx -child -dump 
-force-html ${charset:+--assume_charset "$charset"} %F

If you want to use another one, you could configure it in your own profile.
The line nmh puts in there would look like this:

mhshow-show-text/html: charset=%{charset}; %p/usr/bin/w3m -dump ${charset:+-I 
"$charset"} -T text/html %F

If you want to change the default in mhn.defaults, you would do:

% cd <nmh build dir>
% rm etc/mhn.defaults
% make
% make install

--Ken

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>