Archive | 2003

Wine Update, Part III: Wine Locks Okay, Samba doesn’t

Extensive testing by Paul McNett seems to indicate that:


  • VFP running under Wine locks tables and records properly,
  • Multiple instances of VFP or other applications under the same instance of Wine respect each other’s locks,
  • VFP clients on Windows can properly lock records and files on a Samba share or a native Windows share,
  • VFP clients under Wine do respect locking when sharing files via NFS,
  • VFP clients running under Wine will not see locks on SMB (Samba or Windows) shares because the outgoing SMBClient does not understand locks.

So, all is not lost, nor is it won, just yet. Wine is doing it’s thing properly. Samba needs to learn the Windows Way of locking. So, if you are looking at transitioning existing Windows systems to Linux:

  1. Consider moving to client-server, which eliminates all the locking issues, and gives you increased scalability, reliability and other – ilities, OR:
  2. Put the DBF files on a Samba share, and access them via SMB (the native networking) from Windows clients, and via NFS from the Linux clients.

With the rich assortment of data servers available for Linux, I’m inclined to strategy #1 for new systems, but strategy #2 for existing DBF-based systems, to simplify the transition. Once the existing systems were working without a hitch under plan #2, I’d propose plan #1 for the next major upgrade of the system.

Microsoft Operating System Roadmap – Are We There Yet?

Ars Technica features a discussion that Microsoft server release schedule uncertain (from Ars Technica). I attended a Windows User Group meeting last month where Steve Carbone, a local Microsoft rep, explained that Windows server OSes needed to change on a longer cycle to accomodate admins in large shops with muilt-year rollout plans, while client OSes could change more rapidly. With Win NT, they rolled them out separately, and people complained they got one without the other. With Win2K, they released them together, and people complained there was too much to change at once, Win XP, they released the workstation separate from Windows Server 2003, and people complained. What’s the constant here? You’re not going to satisfy all of the people all of the time.

VFP runs on Linux

VFP 7 on Linux screenshot - 320 KbPaul McNett has been leading the charge to get VFP working on Linux. Here’s his website, and here’s an article he recently published in FoxTalk. There are still some limitations, like the locking issues in the last post, but there are work-arounds to those, too (using client-server data rather than local files), but the Wine project is still in alpha and the progress is exciting.

Click the little picture on the right for a large (1600×1200, 320kb) screen shot of VFP running on the Linux desktop.

Wine Update

Looks like we may have celebrated a bit too soon. The Wine project, an environment (not a slow emulator!) that lets Win32 programs run on non-Windows OSes (Linux, primarily), announced support for file locking that *should have* meant that Visual FoxPro, Access, Delphi, Office, and many other applications that depend on file locking would have another chunk of functionality working. Unfortunately, the problem is fixed but not fixed, and I’m still trying to sort out the details. It seems that Wine is doing it’s part – two VFP applications running on the same Wine session will respect each other’s file locks, but Samba, the SMB/CIFS emulator that lets Linux present network shares in Windows Neighborhood, does not support those locks over the network. Locking does seem to work on NFS shares. More as I figure it out…

TV Networks Puzzled by Low War Ratings

American TV Networks Puzzled by Low War Ratings. Reuters: TV’s War News Coverage Outdrawn by Comedy Repeats. With networks wondering just how deep the American appetite for war… link from Dan Gillmor’s eJournal. A rerun of “Friends” outdrew the war coverage. I think the problem was simple enough: there was no news to report.

What’s New in VFP 8 ships

What's New in VFP8 book linkThe “What’s New in VFP8 book is following right behind the product, with an expected shipping date of March 24th. Friends and collaborators Doug Henning and Tamar Granor have written this one. Looking forward to it!

Powered by WordPress. Designed by Woo Themes

This work by Ted Roche is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States.