[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev NLS tweaks for 282dev4
From: |
Nelson Henry Eric |
Subject: |
Re: lynx-dev NLS tweaks for 282dev4 |
Date: |
Fri, 20 Nov 1998 14:04:53 +0900 (JST) |
> > Changing the subject, I cannot get my mailcap/mime.types entry to
> > work for bzip2-compressed files. Precisely, I cannot get Lynx to
> > use bzip2 -d to decompress the file, and then pass the result to
> > most for display. Works fine when I have it gzipped.
> >
> > Does anyone have working mailcap/mime.types entries, or lynx.cfg
> > VIEWER/SUFFIX entries, for decompressing bzip2 files and passing the
> > decompressed stream to a reader like most, or even to lynx?
>
> Can it be that the server is sending improper MIME headers? I know
It's not just served files, but also files on the localhost that I'm
interested in. But to give an example, my own http server gives the
following header (analogous to what I have for gzip), but admittedly
I'm pretty stupid when it comes to knowing about headers and such.
HTTP/1.0 200 Document follows
Date: Fri, 20 Nov 1998 04:42:59 GMT
Server: NCSA/1.5.2
Last-modified: Fri, 20 Nov 1998 04:38:36 GMT
Content-type: text/plain
Content-length: 20989
Content-encoding: bzip2
This is for the latest update to the ja.po I did this lunch hour:
<http://163.51.110.11/lynxdev/docs/ja.po.bz2>.
My mime.types entries are:
application/bzip2 bz2
application/x-bzip2 bz2
and my mailcap entries are:
application/bzip2; /usr/local/bin/bzip2 -d %s
application/x-bzip2; /usr/local/bin/bzip2 -d %s
(the path is correct)
I'm sure I've got it wrong, but I just can't figure out where.
__Henry