Fnkdat 0.0.8 review
DownloadFnkdat provides an interface for determining common directory names in UNIX and Win32 applications. Appications organize files dif
|
|
Fnkdat provides an interface for determining common directory names in UNIX and Win32 applications.
Appications organize files differently on different platforms. On Win32 systems, an application is generally installed by a user and it is usually (more-or-less) installed entirely under a single tree. For example, the game OmniHype might be installed in the directory C:Program FilesOmniHype.
Its maps or data may be in C:Program FilesOmniHypemaps, and the system configuration might be C:Program FilesOmniHypeconfig.dat. Information specific to the user straczynski (such as keyboard/mouse settings) might be stored under G:Documents and SettingsStraczynskiApplication DataOmniHype in Windows NT and its derivatives, and under C:Program FilesOmniHypeusersstraczynski in Windows 95 and its derivatives.
On a UNIX system the story is completely different. An application may be compiled by a user or a packager, and file locations (at least one of them, anyway) are often defined at compile-time. The application is then installed by a user or a system administrator, relative to a prefix (such as /usr/). Following the above example, the binary for the game OmniHype may be installed as /usr/bin/omnihype. Its maps or data may be in /usr/share/omnihype/maps/. The system configuration may be /etc/omnihype.conf, and information specific to the user straczynski may be stored under ~straczynski/.omnihype/.
fnkdat is an attempt to cope with these differences.
Usage:
fnkdat is implemented as a single function. The source is released under a GUILE style license and may be statically linked to both public and commercial software. The license text, links to the source, and a couple tutorials are listed below.
What's New in This Release:
A patch that fixes a compiler warning was applied.
Fnkdat 0.0.8 keywords