From owner-freebsd-ports@freebsd.org Mon Apr 24 08:23:57 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 168FCD4CDED for ; Mon, 24 Apr 2017 08:23:57 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from dnvrco-oedge-vip.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dnvrco-oedge-vip.email.rr.com", Issuer "dnvrco-oedge-vip.email.rr.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id EBE16BE4 for ; Mon, 24 Apr 2017 08:23:56 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from [74.134.208.22] ([74.134.208.22:45389] helo=localhost) by dnvrco-omsmta02 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id 69/B4-29375-516BDF85; Mon, 24 Apr 2017 08:23:49 +0000 Date: Mon, 24 Apr 2017 08:23:24 +0000 Message-ID: <69.B4.29375.516BDF85@dnvrco-omsmta02> From: "Thomas Mueller" To: freebsd-ports@freebsd.org Subject: Re: Downloading with lynx or w3m, how to download as is, without gratuitous gzip X-RR-Connecting-IP: 107.14.64.7:25 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2017 08:23:57 -0000 > > Thomas Mueller skrev: > > I don't use lynx (text-mode web browser) much, but have run into a problem that I never had before. > > Lynx, and also w3m, download what are supposed to be text files and then I see the gzip'ed version on the hard drive. > > Lynx used to download files as is! > > I looked through "man lynx", also /usr/local/etc/lynx.cfg, and couldn't figure how to disable the annoying, gratuitous gzip. > > Mozilla Seamonkey and Firefox can download straight without altering. > > My previous experience was that Lynx was trustworthy and would download files as is. > For w3m you can try to set 'auto_uncompress 1' in ~/.w3m/config. > Herbert Documentation on Lynx and w3m are awful hard to find! I couldn't find anything on auto_uncompress or anything else that might be put in ~/.w3m/config. If the file on the server is already compressed, for instance a tarball, then I want to download it that way. But a browser/downloader has no proper business compressing a file to be downloaded. I might try on a NetBSD installation where I believe I installed lynx to compare the download automatic gzip behavior. Tom