Updated Win64 binaries for Vim 7.0.195
195 patches have been issued for Vim 7.0. I have updated the x64 (amd64) binaries for Win64. These allow you to run Vim natively on Win64. I have also fixed the installer and the "Edit with Vim" shell extension. The shell extension allows you to right-click on a file in Windows Explorer and be able to open it in Gvim. To install Vim, first visit http://www.georgevreilly.com/vim/ and download the latest zipfile. This 17MB file contains all the files you need for a full installation, including the latest Vim runtime. Unzip the zipfile into a directory whose name ends in |vim|, such as |C:\Program Files\Vim|, |D:\vim|, or |C:\mytools\vim|. This will create a |vim70| subdirectory, containing all the files. Start a |cmd.exe| window, |cd ...\vim\vim70|, then run |install|, the command-line installer. This will offer you a series of choices. You can probably just type |"d"| to "do it". To uninstall Vim, use |uninstall.exe| in the same directory. I will not supply IA64 binaries unless specifically requested. -- Hello, I must be going. -- Groucho Marx (1890-1977) (Get Witty Auto-Generated Signatures from http://SmartBee.org) George V. Reilly [EMAIL PROTECTED] http://www.georgevreilly.com/blog
Re: Vim + MzScheme on Ubuntu
A.J.Mechelynck wrote: George V. Reilly wrote: Taylor Venable wrote: Well, after a lot of playing around (tracking down dependencies in Ubuntu) I finally got everything I needed and built Vim + all patches (resulting in 7.0.192 as of tonight) from source. Still no luck, though; it has exactly the same problems. ... Thanks for the ideas though. It feels good to have a custom-built version of Vim, and now with MzScheme support, too! Still... it would be nice to know why this is not working. I tried to build Vim with MzScheme support on Ubuntu a few months ago and couldn't figure out what I needed to do to get MzScheme included in Vim. I got everything all the other supported languages working. Can you summarize what you did? I couldn't build it either but I'm on SuSE. Do you have both mzscheme and mzscheme-devel (or whatever name those packages are called) installed on your system? If (or once) you do, the configuration script shown on my howto page ought to pick it up automagically. Best regards, Tony. I've installed the mzscheme, drscheme, and slib packages, which is insufficient. There doesn't appear to be a working mzscheme-dev package for Ubuntu Edgy and mzscheme-devel is not a valid package. [EMAIL PROTECTED]:/opt/vim/vim7/src$ sudo apt-get install mzscheme-dev Reading package lists... Done Building dependency tree Reading state information... Done Package mzscheme-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: mzscheme E: Package mzscheme-dev has no installation candidate I'm using your (Tony's) myenviro script, so --enable-mzschemeinterp is being passed to configure. For the record, I also need the libncurses5-dev, libxt-dev, and libgtk2.0-dev packages to get gvim compiling at all on Ubuntu. /George
Vim + MzScheme on Ubuntu
Taylor Venable wrote: Well, after a lot of playing around (tracking down dependencies in Ubuntu) I finally got everything I needed and built Vim + all patches (resulting in 7.0.192 as of tonight) from source. Still no luck, though; it has exactly the same problems. ... Thanks for the ideas though. It feels good to have a custom-built version of Vim, and now with MzScheme support, too! Still... it would be nice to know why this is not working. I tried to build Vim with MzScheme support on Ubuntu a few months ago and couldn't figure out what I needed to do to get MzScheme included in Vim. I got everything all the other supported languages working. Can you summarize what you did? -- /George V. Reilly [EMAIL PROTECTED] http://www.georgevreilly.com/blog The biggest mistake is not learning from all your other mistakes.
Re: Vim 7 performance notes
Yakov Lerner wrote: On 2/4/07, Yakov Lerner <[EMAIL PROTECTED]> wrote: On 2/4/07, Alexei Alexandrov <[EMAIL PROTECTED]> wrote: > > > > Gnu malloc (glibc) is exceptionally fast, iirc. It is possible > > to benchmark the malloc speed during the ./configure time. > > And auto-select the initital size depending on the results. > > > > The procmail this similar technique in configure: It automatically > > benchmarks it's own builtin strstr() vs system's strstr() and selects > > the one which is faster. > > > > In this particular case the speed of malloc is not the only factor. > Big fraction of time is spent in memset() while initializing the array > with zeros. That's why I thought that it's reasonable to benchmark malloc() relative to the time it takes to memset() that same area. (When benchmarking, you need to know what to compare it to). If you compare time it takes to malloc N bytes to the time it takes to memset() same N bytes, you can tell the speed of malloc *relative* to the time of memset()ting same size. So you will automatically know which one is realtively more expensive, the memset() or the malloc(). And then maybe the optimal initial size will be size where memset() time is equal to the malloc() time ? The break-even, so to say, in which neither of two time dominates the other ? memset() is an O(N) operation. Its running time has to be proportional to N because it has to touch every single byte. If the pagefile gets involved, it's still O(N), but with a much larger constant. malloc()'s running time is much harder to say anything about. Not only can it vary widely between different implementations, it also depends upon the state of the system. Is the heap fragmented? Is it suffering from lock contention? (Not a problem with single-threaded apps like Vim.) Is the memory already in the process's working set, or does malloc have to ask the OS for more pages? Is the system under intense memory pressure and will the malloc() operation cause paging to disk? Finally, malloc(N) is probably independent of N. It has to find a free entry of size N in its data structures, which is very dependent on both the implementation and the preceding factors. Benchmarking malloc() in ./configure is not likely to tell you very much about its performance in a workload you care about. -- /George V. Reilly [EMAIL PROTECTED] http://www.georgevreilly.com/blog The biggest mistake is not learning from all your other mistakes.
Re: vim 7.0, "Edit with Vim", and x64 WinXP
Phil Edwards wrote: Hello. I've been using Vim since the 4.0 days and loving it. I've just installed 7.0 on an x64 system for the first time. It works, but is missing the "edit with vim" popup menu entries. I re-ran the install.exe program and had it recreate the menu entries, but nothing changed. I've followed the instructions under ":help install-registry" and added the keys there; only some of them had been previously created by install.exe, so I created the missing ones (very carefully). Still no luck. 7.0 is running fine on all my other systems, it's only this 64-bit XP box that doesn't see the new menu entries. I can't even get an "Edit with..." entry to appear; that seems to be gone or restricted or moved or. Try saving the following to vim.reg and executing that: REGEDIT4 [HKEY_CLASSES_ROOT\*\Shell\Open with Vim\command] @="\"c:\\Program Files\\Vim\\vim70\\gvim.exe\" \"%1\"" -- /George V. Reilly [EMAIL PROTECTED] http://www.georgevreilly.com/blog The biggest mistake is not learning from all your other mistakes.
Re: virus-laden emails from someone on the Vim list
To make this a little more concrete, here's some data from the last few such emails that I've received. First, typical headers: From - Thu Jul 6 18:56:35 2006 X-Account-Key: account2 X-UIDL: 1152233907.18606.mta6-4 X-Mozilla-Status: 0001 X-Mozilla-Status2: 1000 Return-Path: <[EMAIL PROTECTED]> Delivered-To: george:[EMAIL PROTECTED] X-OB-Received: from unknown (192.168.9.207) by 192.168.8.190; 7 Jul 2006 00:58:27 - Received: from 30013-2004-0009.com (unknown [203.229.175.114]) by spf6-3.us4.outblaze.com (Postfix) with SMTP id 1D21C10DADB for <[EMAIL PROTECTED]>; Fri, 7 Jul 2006 00:58:22 + (GMT) Date: Fri, 07 Jul 2006 09:58:30 +0900 To: "George" <[EMAIL PROTECTED]> From: "Agiorgio" <[EMAIL PROTECTED]> Subject: Avis Message-ID: <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: multipart/mixed; Next, the IP addresses and the purported senders: 221.163.190.71 - "Tal" <[EMAIL PROTECTED]> 203.229.175.114 - "Agiorgio" <[EMAIL PROTECTED]> 218.155.24.56 - "Tal" <[EMAIL PROTECTED]> 210.222.7.64 - "Slouken" <[EMAIL PROTECTED]> 211.192.1.102 - "Eljay" <[EMAIL PROTECTED]> 214.180.5.118 - "Tal" <[EMAIL PROTECTED]> The last IP address is in Estonia; the rest are in Korea. Can anyone take this further? -- /George V. Reilly [EMAIL PROTECTED] http://www.georgevreilly.com/blog George V. Reilly wrote: > [CCing the Vim and Vim-Dev lists. Not that it did any good the last time I raised this subject.] > > It is NOT me, dammit! Someone on the Vim list is infected with a virus that trawls through his address book and forges the From address. I too get dozens of virus-laden emails every week that purport to be from various people on the Vim list. Bram, Henk, Arpaffdy, and my own name are some of the names that I see regularly. This has been going on for at least two years :-( > > This laptop has been running a fresh install of Ubuntu 6.06 for the last four weeks, so if you've seen any mails from me in that interval, it definitely wasn't me. And I run antivirus and antispyware software when I'm running Windows, and I keep the signatures up to date. > > Vimmers, for the love of God, download antivirus and antispyware software, and run a scan on your machines. > > Windows users, start here: http://www.microsoft.com/athome/security/default.mspx > > /George > > @ Rocteur CC wrote: >> I can't believe it, is this really you. >> >> I receive at least 5 spams a week from your email address. >> >> I can't believe it, is this a legitimate mail from you ? >> >> I'll be damned, the worlds biggest spammer is from the VIM list.. >> >> I didn't realize.. >> >> Virus, worms, spam, you name it, I get it from your address, I always thought it was a phony email address and now I see it is a real one.. >> >> Can you not do something about this ? >> >> Anyway, I have hundreds of spam mail from you and it was a shock to see one that was not spam.. >> >> Jerry >> >> On 06 Jul 2006, at 21:10, George Reilly wrote: [snip]
virus-laden emails from someone on the Vim list
[CCing the Vim and Vim-Dev lists. Not that it did any good the last time I raised this subject.] It is NOT me, dammit! Someone on the Vim list is infected with a virus that trawls through his address book and forges the From address. I too get dozens of virus-laden emails every week that purport to be from various people on the Vim list. Bram, Henk, Arpaffdy, and my own name are some of the names that I see regularly. This has been going on for at least two years :-( This laptop has been running a fresh install of Ubuntu 6.06 for the last four weeks, so if you've seen any mails from me in that interval, it definitely wasn't me. And I run antivirus and antispyware software when I'm running Windows, and I keep the signatures up to date. Vimmers, for the love of God, download antivirus and antispyware software, and run a scan on your machines. Windows users, start here: http://www.microsoft.com/athome/security/default.mspx /George @ Rocteur CC wrote: I can't believe it, is this really you. I receive at least 5 spams a week from your email address. I can't believe it, is this a legitimate mail from you ? I'll be damned, the worlds biggest spammer is from the VIM list.. I didn't realize.. Virus, worms, spam, you name it, I get it from your address, I always thought it was a phony email address and now I see it is a real one.. Can you not do something about this ? Anyway, I have hundreds of spam mail from you and it was a shock to see one that was not spam.. Jerry On 06 Jul 2006, at 21:10, George Reilly wrote: Adding the Vim Users mailing list, because I can't answer these completely. - Original Message - From: "Richard Dooling" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: gvim on windows xp Date: Thu, 6 Jul 2006 12:53:12 -0500 Dear George: I am a new convert to gvim. Trying to use it on Windows XP. I am primarily a novelist, but a recent convert to Python, also. I intend to use gvim mainly as a text editor. Two things: (1) Is there a way to have a "soft" border or offset on the left, so that the text is not flush against the left window border? I've searched for hours with no luck. Autoindent would put an actual space in there (which I wouldn't want). I don't know of anything that will do exactly what you want, but ":set number" might help. (2) Is there a plug-in file especially for text? Already configured for 79 spaces with linebreak etc already set. I'm sure there must be something useful out there at vim.org. I have " In text files, always limit the width of text to 75 characters autocmd BufNewFile,BufRead *.txt,*.htm,*.html setlocal tw=75 in my _vimrc. Thank you so much for any help. Richard Dooling http://dooling.com --/George V. Reilly mailto:[EMAIL PROTECTED] http://www.georgevreilly.com/blog/ -- /George V. Reilly [EMAIL PROTECTED] http://www.georgevreilly.com/blog
clipboard + unnamed register under X11
On Windows, I've long been used to having clipboard=unnamed, which ensures that all deletes, yanks, and puts go to or come from the clipboard by default. Is it possible to achieve this effect under X? I keep forgetting to prefix commands with "+, which is awkward to type. I'd prefer not to remap a ton of commands. -- /George V. Reilly [EMAIL PROTECTED] http://www.georgevreilly.com/blog
Re: Runtime error in explorer.exe when right clicking with vim70f gvimext.dll installed
Daniel Einspanjer wrote: > "George V. Reilly" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> Daniel Einspanjer wrote: >>> Installed the build exes and dlls to c:\bin\vim\vim70f and ran >>> install.exe. >>> When I right click on a file in explorer I get an MSVC Runtime error >>> dialog: >>>Microsoft Visual C++ Runtime Library >>>Runtime Error! >>>Program: C:\WINDOWS\explorer.exe >>>R6034 >>>An application has made an attempt to load the C runtime library >>> incorrectly. >>>Please contact the application's support team for more information >>> >>> If I unregister gvimext.dll then the error goes away. If I install >>> the gvimext.dll from vim64 or my prior vim70e, then the Edit with Vim >>> functionality works fine. >> >> Without trying it, here's my guess. VS8 no longer links to msvcrt.dll, >> but to msvcr80.dll. Is it in your path? > > msvcr80.dll is the problem, but it isn't that the dll is missing, > gvimext.dll loads it from c:\windows\system32. The problem is that > gvimext.dll is loading the dll incorrectly (according to the error > dialog). Obviously the source for gvimext.dll hasn't changed in a > while, but I believe this means that the gvimext.dll can't be built > against VC 8.0 until this problem is resolved. :/ Try copying src\GvimExt\gvimext.dll.manifest to wherever you've placed gvimext.dll. You may also need to install VCRedist_x86.exe from http://www.microsoft.com/downloads/details.aspx?FamilyId=32BC1BEE-A3F9-4C13-9C99-220B62A191EE -- /George V. Reilly [EMAIL PROTECTED] http://www.georgevreilly.com/blog You will be surrounded by luxury. (Get Witty Auto-Generated Signatures from http://SmartBee.org)
Re: Runtime error in explorer.exe when right clicking with vim70f gvimext.dll installed
Daniel Einspanjer wrote: > I pulled down latest sources from svn.sf.net. > Compiled under MSVS8 with the following featureset: > ... > > Installed the build exes and dlls to c:\bin\vim\vim70f and ran > install.exe. > When I right click on a file in explorer I get an MSVC Runtime error > dialog: >Microsoft Visual C++ Runtime Library >Runtime Error! >Program: C:\WINDOWS\explorer.exe >R6034 >An application has made an attempt to load the C runtime library > incorrectly. >Please contact the application's support team for more information > > If I unregister gvimext.dll then the error goes away. If I install > the gvimext.dll from vim64 or my prior vim70e, then the Edit with Vim > functionality works fine. > > Has anyone run into this before? Any ideas? Without trying it, here's my guess. VS8 no longer links to msvcrt.dll, but to msvcr80.dll. Is it in your path? Depends.exe http://www.dependencywalker.com/ is good at troubleshooting problems like this. -- /George V. Reilly [EMAIL PROTECTED] http://www.georgevreilly.com/blog If you believe in gambling, in the end you will sell your spouse. (Get Witty Auto-Generated Signatures from http://SmartBee.org)