[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MINTOS] looking for data (was: Re: standard paths)



In <9401191119.AA21116@nice.ethz.ch>, Christian Limpach <Christian.Limpach@nice.usergroup.ethz.ch> wrote:

> > > no, the name is quite well chosen, my NeXT has a similar file
> > > (/etc/hostconfig). This one sets things like IP number, hostname and other
> > > network related stuff...
> >
> > I respectfully disagree. The hostconfig file on your NeXT is not at all
> > similar to the proposed host.cnf on the Atari. The host.cnf file could
> > contain just any kind of data needed by any kind of program. It may
> > contain lines like:
> >
> > MANPATH=/usr/man:/usr/local/man:/usr/gem/man
> > GXXINC=/usr/g++include
> > EXINIT=set lines=60 scroll=40 ai eb sm mo
>
> these are environment variables and should not be set globally. Every
> user should defines these in his .cshrc or whatever his shell uses.
> host.cnf should IMHO only define things that are really host dependant
> (like hostname and IP numbers...)

We do agree on what should not be in /etc/hostconfig (host.cnf). The
original proposal was to use a file with exactly that name to store
pointers to data specific to one application.

Quoting from the original post by Bjarne Pohlers:

> In c:\etc\host.cnf there are entries like
> ETCDIR=/dev/u/etc
> LIBDIR=/dev/u/usr/lib
> HOSTNAME=<Guess>
> etc.
>
> For special programs one could add a line
> PROGRAMNAME_CNF=<location of program special-.cnf file>
> in which setups can be done which affect only one program

Do you think that /etc/hostconfig (host.cnf) is the right place to store
the PROGRAMNAME_CNF= lines? I don't think it is, so I suggested to use
another name.


Regards,
           Waldi  (walra%moacs11@nl.net)