"Klaus" == Klaus Weide <[EMAIL PROTECTED]> writes:
Klaus> - But, actually, it's more likely that "Lynx: Can't open
Klaus> temporary file!" doesn't refer to '/tmp/mm.6RGWa9' but to
Klaus> some other temp file lynx is trying to generate. Again,
Klaus> comparing Lynx.trace files should give more clues about the
Klaus> problem.
I think this is it. /etc/nmh/mhn.defaults tells me that nmh is using
metamail, and /etc/mailcap is invoking Lynx like this:
text/html; /usr/bin/lynx -force_html '%s'; needsterminal; description=HTML Text;
nametemplate=%s.html
Which seems like it ought to work, except maybe for the `nametemplate'
as I'm not sure what that does. So I edited /etc/mailcap and added
`-trace' to the lynx options above. Now when I reproduce the error, I
get a Lynx.trace file whose relevant lines appear to be these:
LYOpenTemp(,.html,w)
-> '/tmp//cjAgik/L12212-9513TMP.html'
... LYOpenTemp(/tmp//cjAgik/L12212-9513TMP.html) failed: Permission denied
Lynx: Can't open temporary file!
LYCleanupTemp removing /tmp//cjAgik
This sure looks like it's a different temporary file. When I run
`lynx -trace a-normal-file.html', Lynx.trace instead contains
corresponding (I think) lines like these:
LYOpenTemp(,.html,w)
-> '/tmp//vgFD4E/L12368-8125TMP.html'
... LYOpenTemp(/tmp//vgFD4E/L12368-8125TMP.html)
LYCloseTemp(/tmp//vgFD4E/L12368-8125TMP.html)
...LYCloseTemp(/tmp//vgFD4E/L12368-8125TMP.html), closed
I must say I'm clueless about what's causing it to fail in the first
case but succeed in the second. Any ideas?
Thanks for the suggestions.
\\// | R | T R | L B | /\ mailto:[EMAIL PROTECTED]
\/ (Michael Shulman) //\\ http://kurukshetra.cjb.net/
If you want truly to understand something, try to change it.
-- Kurt Lewin
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]