On Thu, Sep 24, 2009 at 03:20:39PM +0200, Joost Kremers wrote:
> On Thu, Sep 24, 2009 at 03:12:53PM +0200, Michael Wagner wrote:
> > * Wu, Yue <[email protected]> 24.09.2009
> > > y...@bsd ~/gtd/stuff > gzip -tv manual.txt.gz
> > > gzip: manual.txt.gz: not in gzip format
> > > manual.txt.gz:    NOT OK
> > 
> > I don't understand it. Here is all ok.
> 
> I've seen it happen before that a browser silently unzips a file it downloads
> but doesn't bother to change the file ending.

Thanks for pointing me out of it, gzipped file issue has gone.

When I use

    fetch http://www.mutt.org/doc/devel/manual.txt.gz

the file is ok(fetch is a wget-like app in FreeBSD).

> 
> Wu, try the `file' command on manual.txt.gz. If it says 'ASCII Text', then the
> file was decompressed.

Maybe opera does some suck thing on the gzipped file it
downloads:

    y...@bsd ~ > file manual.txt.gz
    manual.txt.gz: ISO-8859 English text, with overstriking

Don't know what's wrong with opera :(

Also, I don't know how to view the file as a plain text, when I try to view it
by vim, the garbage charactors full-filled with my screen.

`less` is ok. Maybe the file contains many control sequences that vim can't
recorgnize but `less` can? If so, then I think it should be renamed to
manual.less or other thing to make it clear.

-- 
Hi,
Wu, Yue

Reply via email to