Tuesday, January 27
Weirdness, software, programming and misc
Not much going on right now. I've had to reset some programs that have managed to stop loading at startup, like AIM, Yahoo! Messenger and my bandwidth monitor program. Very weird. Don't understand why that happened. But I got every set to reload again.
I uninstalled Office XP (which took for freaking ever to do, and no, I haven't rebooted since I did that so, that's not the reason for the weirdness.) and got Office 2003 installed. Haven't played with it much yet, so I can't say much.
I have also installed the Microsoft Windows Services for Unix. I had an ISO of an earlier version which I never did install (probably because I thought you installed it on Unix/Linux, not on Windows). ksh and csh are now available to me (I wish they had bash, just because I'm more familiar with it), as well as a whole lot of other stuff. Trouble is, it put it ahead of my personalized path with my *ix variations that I use. If everything worked, I wouldn't have a problem. But the MS versions take inordinate time to run (compiled for all versions I'm assuming), and some of them don't even act the same. Between it seems head and tail, one of them was clearing my screen.
@echo off
setlocal enabledelayedexpansion enableextensions
set undo=echo Nothing to do!.....................................................
echo.& echo.& echo.
dir *.?tf| tail -2 | head -1 >x.x
set /p total=<x.x
rm x.x
set /a total=total
echo %total%
The last line outputs correctly, but something there with the MS version clears my screen. I fixed it. I put my stuff (c:\bin32\ and c:\bin\) before the MS stuff in the master environment for PATH, and my stuff works again.
I was having an issue with my font unduplicating process last night. I made a change in my mass unduplicator to check for identical files (identical to the byte) first before checking for equal files (files that have the same version and copyright data) because I was getting false hits on equal files. That problem was because I was allowing it to check for file name collisions. If I have a font with the same font but a different maker as shown by the copyright info, I keep it and append a 2 to the name, and if I have more, I just increment the 2. Due to the A utility that puts out the fonts version and copyright info was blowing up, with an error that the file could not be found. I couldn't understand that, as the file had to exist. After putting all sorts of code in the utility to tell me what was going on, I finally realized that I had found an identical, erased the dupe, and continued to look for an equal, and that's why the utility couldn't find the file. An "if not exists %1 goto :eof" inserted at the beginning of that was all it took to fix that. Talk about your unintended consequences!
And right this minute, Garfield is coming home from his first date. A double date with his step brother. Should be interesting.
Permanent link posted by bytehead @ 1/27/2004 11:11:00 PM
Links to this post: