Hi, * s. keeling [04/13/02 02:10:27 CEST] wrote: > That's the background. So in my ~/.mailcap, I tried "links %s; > copiousoutput":
> [-- Autoview using /usr/bin/links '/home/keeling/.mutt/tmp/mutt9aipDt' --] > [-- Autoview stderr of /usr/bin/links '/home/keeling/.mutt/tmp/mutt9aipDt' --] > ERROR: could not get terminal size > This in a real Xterm. With no auto_view statements in .muttrc, > _everything_ comes up "blah/blah is unsupported. use v ..." Correct behaviour. Text-mode browser are _interactive_ programs and thus need a terminal. If you only want them to print the page and exit (without waiting for user input) you will have to tell them. > Here's (relevant parts of) my ~/.mailcap: > text/html; w3m -cookie %s; copiousoutput; nametemplate=%s.html Try 'w3m -dump' for autoview. > # text/html; /usr/bin/links %s; copiousoutput Try 'links -dump' for autoview. > # text/html; /usr/bin/lynx -force_html %s; needsterminal; Try 'lynx -dump' for autoview. HTH, Cheers, Rocco.
msg27106/pgp00000.pgp
Description: PGP signature