Gary Johnson wrote:

> I frequently use vim to read the contents of .tgz files.  This has
> recently stopped working.  It works fine with my old Vim 7.2.333 on
> Ubuntu and 8.0.1567 on Cygwin, but my newer 8.1.332 on Ubuntu and
> 8.1.347 on Fedora fail as follows.
> 
>     $ /usr/local/bin/vim -N -u NORC --cmd 'set 
> rtp=/usr/local/share/vim/vim81' 
> /usr/share/doc/texlive-doc/generic/pstricks/pst-user.tgz
> 
> The resulting buffer contains this.
> 
>     " tar.vim version v29
>     " Browsing tarfile 
> /usr/share/doc/texlive-doc/generic/pstricks/pst-user.tgz
>     " Select a file with cursor and press ENTER
> 
>     bzip2: /usr/share/doc/texlive-doc/generic/pstricks/pst-user.tgz is not a 
> bzip2 file.
>     tar: This does not look like a tar archive
>     tar: Exiting with failure status due to previous errors
> 
> It doesn't matter what .tgz file I try to open, the failure is the
> same.  I chose the one above because it was convenient.

I thought this work, but now that I double check it also doesn't work
for me.  I think best is to use the "file" command to check the actual
compression type.

-- 
How To Keep A Healthy Level Of Insanity:
5. Put decaf in the coffee maker for 3 weeks. Once everyone has gotten
   over their caffeine addictions, switch to espresso.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui