OS9-style Window Management in OSX

I don’t have a PowerBook yet, but I'm already collecting URLs for useful Mac software for when I get one ;). One such utility that looks interesting is the plainly-named Classic Window Management — it’s a freeware app that sets OSX to use OS9-style bring-to-front rules for application windows.

Classic Window Management gives you the option to have windows in Mac OS X behave like they did in Mac OS 9, where all of an application's windows stayed grouped together. So when you click on one window, all windows belonging to that application come to the front. […]

If that still doesn't make sense, just check out the site — the illustrations there should clarify things. Of course, not having a Mac, I can’t say that I’ve tried this app, but it can't be that bad if both Zeldman and Eric Meyer like it ;).

UltraVNC

As part of this recent freelance gig, one of the browser requirements was IE5.0 (yeah, that old). And, as luck would have it, my desktop machine at work had IE6 — you would think that IT would have left an older version of IE on there for me, knowing I’m a web developer ;).

In any case, during the early stages of coding, I had to ask around for an IE5.0 machine so that I could test my code. And, the IT guy (yeah, they have just one IT guy) found a Win2k laptop that still had IE5.0 on it. So, he loaned that to me and I set it atop the three-drawer cabinet next to my desk.

The laptop had WiFi, which meant that I didn’t have to bother finding a network cable, though I did plug in the power since I’d be using it for a few days. Normal IE-frustrations aside, the setup wasn’t too bad. But, it became cumbersome over time to have to use the trackpad and its laptop-sized keyboard.

So, even though the laptop was right next to me, and almost within reach anyway, I decided to install VNC on there — VNC is a GPLed client/server app that allows remote control of a PC over a network connection (the remote PC’s desktop just appears as a window on the client’s screen). And, even though I’d be using VNC for a Windows-to-Windows connection, there’re versions available for other operating systems such as Linux and (I think) Mac OS.

I was already familiar with one of the VNC forks, TightVNC — it’s actually backwards-compatible with VNC but it includes a new compression algorithm for a more responsive remote desktop. And, I was about to install TightVNC on the two machines when I ran across UltraVNC (yet another fork). The distinction with UltraVNC is that it includes a “Video Hook Driver” for Win2k/XP which “dramatically improves performances and reduces CPU activity over LAN connections”.

Since they’re all free anyway, I decided to see if UltraVNC’s video hook driver really made a difference. And, sure enough, it did — accessing the laptop via my desktop machine was just about realtime and even JavaScript rollovers appeared almost instantly. So, with the help of UltraVNC, I was make use of the laptop’s IE5.0 installation while still using my desktop’s full-sized keyboard and mouse :).

The only downside with UltraVNC is that it’s only available for Windows at the moment. Howver, since it’s designed to be backwards compatible with regular VNC, that’s not much of a problem. But, in my case, Windows support was all I needed at the time, and it worked out really well.

Though I recall that there may have been some flavor of VNC available for Mac OS, I can’t seem to find it at the moment (at the VNC site or elsewhere). If I could find an OSX (or even OS9) version of VNC, then I’d be able to setup a VNC server on one of the Macs at the office, and could do all my browser testing from my desk :).

Win2k SP4 Disaster

Though I settled on the above title, I had several other candidates for this entry:

  • The 24-Hour SP4 Install.
  • Microsoft Sucks It.
  • SP4 Does Not Play Nicely With LiteStep.

In short, I attempted to install Service Pack 4 for Win2k, Bad Things occured and Alex spent the next day reinstalling his OS.

If you’re running Windows 2000, you’re probably aware that Microsoft released SP4 a couple weeks ago. So, I downloaded all 132 MB of it on Sunday and started the installation just before heading off to the gym (since I knew it’d take a while).

I came back from the gym and the install was finished, prompting me to reboot my PC (this is all perfectly normal, so far). So, I rebooted but instead of my usual bootup sequence, I was greeted only with the text-mode message “NTLDR is missing Press Ctl+Alt+Del to restart”. I tried Ctrl-Alt-Del to reset the PC but it quickly brought me back to that same message.

At this point, I suspected that SP4 may not have worked well with my installation of LiteStep. If you’re not familiar with it, LiteStep is a free shell for Windows (screenshots) that replaces the look that Explorer provides (the taskbar, tray, and so on). Since Windows includes hooks for installing 3rd-party shells, installation is fairly easy.

But, I’m guessing that the SP4 installer made some assumptions about the installed shell and things went awry. I probably could have avoided some of this by temporarily switching back to Explorer for my shell, but that didn’t even occur to me at the time since all the previous Service Pack installations went fine :-/.

After eating some dinner, it was around 10pm and I had a PC with an ailment that I didn’t know how to solve. I first tried booting the Win2k installation CD and going into the recovery options — but those were ineffective (the recovery application saw no problems with my system). I next tried the recovery console built-in to the CD.

Using the console, I could poke around my drives and I could see that all my data was still there. But, without knowing the specific cause of my problem, there wasn’t much more I could do. I was about to call someone to see if he or she could look up that NTLDR message in Google (since my PC is the only computer in the apartment). But, I then remembered that my recently-bought Palm Tungsten C has a WiFi-based web browser built-in.

That seemed like a good idea, at first, but it became frustrating after a while. Sure, I could search Google and read webpages, but it just wasn’t that easy to to browse tech forums and Microsoft’s Knowledge Base on a PDA screen. More than that, it seemed that this NTLDR problem had a wide range of possible causes (many of them centering around installing Win2k over Win9x, but that wasn’t the case here).

As far as I could tell, my master boot record had become partially corrupted — that might have explained how I had some booting problems while the partition table remained intact. And I noticed that there was a command available in the recovery console for repairing MBRs (fixmbr), but it also included the warning that it could end up erasing all my partitions (doh!). Considering that as a worst case scenario I could always put my drive in another machine to get the data off it, I didn’t want to risk deleting my partition table and losing that option. But after all this fiddling, it was getting late, so I resolved to head off to Fry’s the next day to see what kind of recovery software they might have.

I went to Fry’s on Monday and I was initially looking for a CD-burning program that could boot off the CD drive (that way, I figured, I could backup my current drive and then try the fixmbr command without worry). But, it appeared that no such beast existed. However, I did find Partition Commander which could boot off its own CD and also included a feature that they called BootFixer which purported to fix many NT/2k/XP boot problems. So, $50 later, I had a copy of Partition Commander and headed home.

Once home, I booted off the Partition Commander CD and ran BootFixer. It gave me some kind of ambiguous success message (something along the lines of “boot sequence ok”) so I wasn’t sure if it actually fixed anything or whether it thought my drive was fine as-is. But, I rebooted my PC just to be sure. Amazingly enough, the Windows boot process went forward.

But, my elation was short-lived. It got through the initial loading-Windows message (the one in white text on the black background) and it got to the Windows splash-screen loading sequence as well. But, just before the “Press Ctrl-Alt-Del to Logon” message would normally have appeared, my box rebooted itself. Bother.

I next figured that I could try reinstalling Windows on top of itself (since I had the feeling that I was “this close” from a working system). So, I once again booted from the Win2k installation CD. I chose the option for installing Windows and proceeded through several prompts. But, it came to inform me that I needed 768 MB free (!) to install Windows. Of course, I didn’t have that much space free, but I probably didn't need it anyway since the install process would only be overwriting existing files anyway. <villain-voice>Mah, foiled again!</villain-voice>

It took a bit of thinking to figure out how I should proceed. I had a spare hard drive in my closet (from my yet-unfinished new PC plans), so I had the idea that I could install Windows on to that drive, move some data over from my old drive, and then I’d have enough free space on that drive to reinstall Windows.

Of course, it dawned on me that I needn’t jump through so many hoops. So, I resolved that I’d rebuild my system through install Windows onto the new drive along with all the rest of my usual apps. At first, I was dismayed at the prospect of having to reinstall everything, but I then realized that the task wasn’t actually that difficult but merely hugely time consuming ;).

So, I was installing software for most of yesterday. Typically, I’d start the installation and grab a magazine to read, looking up occasionally to hit Next or Continue. It also eased my nerves to have some Pantera playing in the background (thanks for dropping those off, Connie). And the Bloodhound Gang that I stuck in the changer didn’t hurt either, since it's hard to stay grumpy with that kind of silliness :).

In any case, I’m now back on a working and healthy Win2k system. And, I’m still not particularly pleased that it took 24 hours to get through what should have been about a half-hour install process for SP4. Just to be clear, if you’re running Win2k, I’m not saying that you should shy away from SP4 — I think my unique circumstances caused the anomalies and it’ll probably install just fine on your system.

ReplaceEm – Search &amp Replace Freeware

I needed a search-and-replace tool just now (to make global changes to a website). So, I searched the Developer Tools section of WebAttack and found ReplaceEm. (WebAttack is a great resource for freeware and shareware, especially since each program is rated.)

Anyhow, ReplaceEm worked so flawlessly that I thought I’d mention it here. It’s freeware, of course, and supports ordinary search-and-replace and regular expressions. It even allows for a separate destination directory for the modified files (which can be very handy if you need to be cautious).

Yeah, some editors come with global search-and-replace utilities built-in, but I don’t think I’ll need that after finding ReplaceEm.

No Multiplayer for Doom III

IT publication The Inquirer reports that Doom III won’t include multiplayer, apparently as an economc measure (as in “if there’s not enough time to do it right, don’t do it at all”).

In other games with a deformable/destructible environment the graphic technology was not in place so the modeling was much easier. In older games a plain-jane texture could be applied to the box, it could split into several chunks and dissipate into the air, and that was acceptable to the gamer as previously shot bodies disappeared, blood did not spray and the list goes on. Because of the realistic nature of Doom 3 (and I saw a preview video. Hold onto your hats.) id decided to leave anything out that would detract from the overall game. First to go? Multiplayer.

Because of the nature of multiplayer games, where individuals have to be able to traverse a map in any direction, often times level designers make several changes to enhance the multiplayer experience. With Doom 3, because of the workflow, an artist would create a room and it would take a week and a half to program. Any changes to the room would require reworking so id chose the economical route. […]

I was disappointed to read that, as I really enjoy multiplayer FPS games — and id makes the best. Then again, I’ll probably buy it anyway ;). And, perhaps I’ll just have to try Return to Castle Wolfenstein for id multiplayer goodness.