lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV Re: Lynx/386 and problem with compressed files..


From: Foteos Macrides
Subject: Re: LYNX-DEV Re: Lynx/386 and problem with compressed files..
Date: Fri, 16 May 1997 09:46:49 -0500 (EST)

Wayne Buttles <address@hidden> wrote:
>On Thu, 15 May 1997, Foteos Macrides wrote:
>
>>      I've never used gunzip on anything but VMS and Unix, but I
>> just looked at it's DOC file, and it says that for MSDOS/WIN/NT the
>> default suffix is 'z'.  So, where the for-VMS code is setting 'gz'
>> in HTFWriter.c, you want to make it 'z', and where it's making the
>> suffix .txt- or .html- or .bin- you want to make it .tx or .ht or
>> .bi, so it ends up 8.2z. 
>
>Yes I have been there, I just haven't figured out why doing that sets lynx
>to copy the file in text mode rather than binary mode.  This cuts off the
>file at the first eof(?) char when it should wait till the actual end.

        Try adding your extensions to the ".gz and friends" suffix maps
in HTInit.c:

[...]
    HTSetSuffix(".gz",          "application/GNU Compressed", "binary", 1.0);
    HTSetSuffix(".htz",         "application/GNU Compressed", "binary", 1.0);
    HTSetSuffix(".txz",         "application/GNU Compressed", "binary", 1.0);
    HTSetSuffix(".biz",         "application/GNU Compressed", "binary", 1.0);
[...]

                                Fote

=========================================================================
 Foteos Macrides            Worcester Foundation for Biomedical Research
 address@hidden         222 Maple Avenue, Shrewsbury, MA 01545
=========================================================================
;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]