Package: pstotext Version: 1.8g-5 Severity: minor Tags: patch Lynx does currently not honor the copiousoutput flag in /etc/mailcap.
See http://www.google.com/search?q=cache:www.flora.org/lynx-dev/html/month042000/msg00531.html for the only evidence I could find about why it doesn't work. The message implies that it will not get fixed very soon. Since it appears a quite correct test can be made to detect pstotext usage under Lynx, I've attached a patch against debian/mime. Tested, and works fine. No longer watching thousands of lines scroll by after you've waited for a 4MB pdf file to download! :) --- mime 2002-11-26 22:54:30.000000000 +0100 +++ /usr/lib/mime/packages/pstotext 2002-11-26 22:54:13.000000000 +0100 @@ -1,3 +1,6 @@ -application/postscript; pstotext %s; copiousoutput; description="PostScript document"; priority=4 -application/ghostview; pstotext %s; copiousoutput; description="PostScript document"; priority=4 -application/pdf; pstotext %s; test=expr `gs --version` ">=" 3.51 >/dev/null 2>&1; description="Portable Document Format document"; priority=2 +application/postscript; pstotext %s; test=test -z "$LYNX_VERSION"; copiousoutput; description="PostScript document"; priority=4 +application/postscript; pstotext %s | /usr/bin/pager; test=test -n "$LYNX_VERSION"; description="PostScript document"; priority=4 +application/ghostview; pstotext %s; test=test -z "$LYNX_VERSION"; copiousoutput; description="PostScript document"; priority=4 +application/ghostview; pstotext %s | /usr/bin/pager; test=test -n "$LYNX_VERSION"; description="PostScript document"; priority=4 +application/pdf; pstotext %s; test=test -z "$LYNX_VERSION" && expr `gs --version` ">=" 3.51 >/dev/null 2>&1; copiousoutput; description="Portable Document Format document"; priority=2 +application/pdf; pstotext %s | /usr/bin/pager; test=test -n "$LYNX_VERSION" && expr `gs --version` ">=" 3.51 >/dev/null 2>&1; description="Portable Document Format document"; priority=2 -- CYa, Mario | Debian Developer <URL:http://debian.org/> | Get my public key via finger [EMAIL PROTECTED] | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44