Finding where an executable was run from -- a proposal.
Johan Vromans
jv at mhres.mh.nl
Sun May 29 02:46:37 AEST 1988
>From article <2272 at isis.UUCP>, by aburt at isis.UUCP (Andrew Burt):
> What would even be more useful (and what this approximates in an ugly way)
> is a global environment (that isn't user changeable). A true global env.
> could be implemented by a lib func (getsysenv(var_name)) that looks for
> "var_name=..." in a file, /etc/environment say. (Granted, we could make
> this a system call and store the environment in core all the time, but it
> strikes me programs wouldn't look up definitions so often that much time
> would be saved.) Makes the system admin job easier too. I always feel
> a little uneasy editing passwd (I dial in on often noisy phone lines), I'd
> feel better editing a less crucial file.
>
> Thoughts anyone?
I like the idea. It seems to me that it is also usefull for tailorable
system constants like hostname, domain-name, number-of-lines for the system
printer and (default) timezone.
The main thing is, that although everyone can use it, only the system
administrator can change the settings. This allows for security and
reliability.
To get it accepted: make a solid, good-looking implementation and post it
to comp.sources.unix. And then start posting programs which use it.
--
Johan Vromans | jv at mh.nl via European backbone
Multihouse N.V., Gouda, the Netherlands | uucp: ..{uunet!}mcvax!mh.nl!jv
"It is better to light a candle than to curse the darkness"
More information about the Comp.unix.wizards
mailing list