Re: Anything like the Windows Registry or INI files for Linux/Unix?
From: Alan Connor (zzzzzz_at_xxx.yyy)
Date: Thu, 11 Mar 2004 01:47:42 GMT
On Thu, 11 Mar 2004 00:02:09 GMT, Malke <email@example.com> wrote:
> Alan Connor wrote:
>> On Tue, 09 Mar 2004 23:44:01 GMT, Kenny McCormack
>> <firstname.lastname@example.org> wrote:
>>> Now, before anyone starts flaming me, be aware that this is a serious
>>> inquiry. There is something nice about the registry and/or INI files
>>> in Windows and high level API functions to access them, both in terms
>>> of saving you (presumably, you the C programmer) the pain of opening,
>>> closing, and parsing files, and in terms of standardization (I.e.,
>>> solve the problem once and be done with it).
>>> ISTR that in the context of the Unix version of one or more of the
>>> popular browsers (Mozilla and/or Netscape), that someone had done
>>> exactly this. Note that in Windows, there is actually OS support for
>>> it; the OS handles
>>> the caching specially. Not sure if that part was ported to Unix.
>>> Anyway, any pointers gratefully accepted.
>> Well, it would be nice to know just what the hell "the registry" and
>> INI were....
>> I didn't use Windoze long enough to get that deep into the morass they
>> call an operating system.
>> But I have heard many very knowledgable people say that "the registry"
>> was a bad hack and the worst thing about NTs.
> The Windows registry (and the .ini files for older versions of Win os's)
> is sort of like a huge centralized card catalogue with "pointers" to
> absolutely everything in the system. This means that if even a little
> bit of it is wrong and/or gets corrupted, the whole system is hosed.
> And of course, Windows is basically a gui - never mind their whole "we
> have a commandline" thing, it is lame compared to Unix or Linux's power
> - so you really don't have the ability to go in and fix things the way
> you can in Unix or Linux. It is a perfect example of the one of the
> main differences between the Windows and Unix and Linux philosophies;
> i.e., Windows=giant monolithic one-stop shop and Unix/Linux=small,
> discrete tools for specific jobs not inextricably embedded into the os
> So, the registry is really a very Bad Idea *and* badly implemented,
> which is a Good Thing for people like me. Why? Because I do freelance
> computer tech support and the general badness of the Windows registry
> is *one* of the reasons my children have decent shoes!
That tallies with what I have heard elsewhere.
I used Windows for a while. Hated it before I even knew there was an
alternative OS out there. Frigging MESS.
Those who do not understand Unix are condemned to
reinvent it, poorly.
-- Henry Spencer
-- ed(1) Check out the original tutorials by Brian W. Kernighan at the Ed Home Page http://tinyurl.com/2aa6g