On Sat, 19 Jul 2008 12:41:54 -0400 (EDT) Thomas Dickey wrote: > On Sat, 19 Jul 2008, Patrick wrote: > [...] > > > > It's still minor. I can work around it by defining a downloader, > > external URL handler or something, but now I'm curious. > > I can look into it (am not at home at the moment).
Okay. Wherever you are, I hope it's a good place. [...] > > > > Seems to be a unique problem, so where else in the source would > > it explicitly point to xli? Guess I could mess with that... > > You might be able to see the issue in the trace-file (lynx -trace > -trace-mask=127, etc). Thanks. The compile time options show; [...] MIME_LIBDIR "/etc/" [...] and a few lines from the trace look like it's reading from /etc/mailcap . In /etc/mailcap ; [...] image/png; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; description=PNG Image; nametemplate=%s.png image/x-ms-bmp; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; description=BMP Image; nametemplate=%s.bmp image/x-cmu-raster; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; description=CMU-RasterFile Image; nametemplate=%s.ras [...] [Please excuse the long lines.] And in the trace file; [...] ./HTInit.c: 465: ProcessMailcapEntry Setting up conversion image/png : /usr/X11R6/bin/xli '%s' ./HTInit.c: 430: ProcessMailcapEntry: Found testcommand:test -n "$DISPLAY" ./HTInit.c: 452: ProcessMailcapEntry: Ignoring mailcap flag 'nametemplate'. ./HTInit.c: 853: PassesTest: Testing for XWINDOWS environment. ./HTInit.c: 855: PassesTest: Test passed! ./HTInit.c: 465: ProcessMailcapEntry Setting up conversion image/x-ms-bmp : /usr/X11R6/bin/xli '%s' ./HTInit.c: 430: ProcessMailcapEntry: Found testcommand:test -n "$DISPLAY" ./HTInit.c: 452: ProcessMailcapEntry: Ignoring mailcap flag 'nametemplate'. ./HTInit.c: 853: PassesTest: Testing for XWINDOWS environment. ./HTInit.c: 855: PassesTest: Test passed! [...] Just two of many tests, of course. Those are the first two entries that mention xli, in both files. That seems more or less as it should be, except I don't see why it's being so stubborn. Are these values compiled in, or does it re-read /etc/mailcap whenever it runs? Changing it between launches didn't seem to have any effect. I'm running Xubuntu 6.10 , by the way -- can give version numbers for whatever packages seem relevant. Thanks, Patrick. -- You know you've been spending too much time on the computer when your friend misdates a check, and you suggest adding a "++" to fix it. _______________________________________________ Lynx-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lynx-dev
