Razorback
NewsProjectsGuidesResourcesContact

Resource Index

Quick Links
Infsect - Old Release Announcements

Return to main page

Version 0.5

This version largely focuses on running faster; the last version was VERY slow to write files on XT machines due to a convoluted function. Hopefully this won't hang or segfault; I have tested it to be sure, but some of those functions are a bit cryptic... do they null terminate automatically, or do I do that myself? Oh geez, that's a way to instill confidence in usage of the program. Seems to be reliable in some of my applications so far.

Version 0.4

As I've been using Infsect more frequently in the automation of various routines involving INI and INF files, it needs to grow more flexible and resilient. Starting with this version, one very significant change has been made to how Infsect modifies files: rather than creating a temporary scratch file, Infsect stores the write buffer directly in memory, and then dumps it over the existing file. This fixes the problem of some writes in MS-DOS failing completely.

Depending on the file size, this means Infsect may require more memory, but memory allocation has been reworked to compensate for this, so the program doesn't take up so many giant 128 byte or 4KB chunks. Plus, most of the files you'll probably be using this with will be well under 64KB in size, anyway.

This version also includes a number of new features, like being able to list every section in an INF file and listing the contents of an entire section to console output. It's also better at handling user input when run interactively; when Infsect is called with the -i switch and the user inputs a value with one or more spaces, Infsect surrounds the value in quote marks when writing to a file. This ensures the spaces will be included when the setup engine in Windows 9x reads the file in question. You can also use the -j switch to limit the number of characters allowed in interactive input.

As usual, a number of bugs have also been fixed with this version. I plan to add yet more features down the road to make this program yet more useful for batch programmers working with INI and INF files. Once it has everything I want in there, I may want to try incorporating it into the long dead Hierma project and see how much faster it actually runs.

Version 0.3

This is a bugfix release, making the program more usable on Unix/Linux as well as in DOS/Win32. It also raises some arbitrary limits that the previous version of Infsect suffered from, particularly the file name length.

Note that if you use Infsect on a CRLF file in a Unix environment, CRLFs will be converted to LFs by this program, so remember to use unix2dos to convert them back to the native line break format used by DOS and Windows if you intend to use your INFs there.

Version 0.2

Once again, Infsect is completely rewritten, this time with a modest DOS-first approach. The fundamental problem with the last version was that it was trying to do too much all at once right from the start, all for a larger thing that never took off. After being tested in both MS-DOS and Win32, Infsect 0.2 should be better suited as a standalone utility for certain routines. It promises less functionality than the last version, but hey, at least it works now.

Knowing that not very many people are going to end up using this as I previously imagined, I ditched the GPL for it and released every bit of it into the public domain, so it can be used and modified without any restrictions.