On 2008-12-20, johngoche99 wrote: > Hello, > > I am using a computer with restricted access, > whereby I cannot install anything that requires > an installer. > > Fortunately, I can download and run the gvim > executable on this Windows XP system. > > However, I would like to download some source > code and read it. Of course, since I cannot run > install WinZip (as it requires me to run an installer > and I have no permission), it is impossible for me > to browse the source code I want to browse, > contained in a .tar.gz, .Z, .tar.bz2, or .zip tarball. > > I would like to know whether such functionality is, > or could be built into vim, so that vim may open > such tarballs directly, thus allowing me to view > the source code on my system without having > to run an installer to install a program to unzip > a .tar.gz tarball on windows.
This functionality is built into vim to the extent that it has plugins that will let you browse such files and open the contents. However, those plugins rely on external programs such as tar to read and uncompress the archives. If you don't already have those programs on the PC you're using, you can download packages of Unix utilities for Windows. None of them need to be "installed" in the Windows sense. I use UnxUtils when I'm running Windows gvim. Just download UnxUtils.zip (Google to find the site), unzip it to some convenient directory, and add the bin directory to your PATH. If you're not allowed to modify PATH on this PC, you should be able to set it within your _vimrc file so that at least gvim can see the UnxUtils bin directory. See :help :let-environment HTH, Gary --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
