Article View: news.software.readers
Article #109445Re: [slrn] Getting It To Run At All [OT]
From: Drazen Kacar
Date: Thu, 12 Sep 2002 09:20
Date: Thu, 12 Sep 2002 09:20
52 lines
3900 bytes
3900 bytes
Blinky the Shark wrote:
> No, I was mostly trying to figure out how an app finds an rc file saved
> as .foorc *or* foo.rc, when I dont' remember telling this one the name
> of the file to look for. Either when I made it as slrn.rc, or when I
> renamed it .slrnrc. How, as the old punchline goes, do it know? To
> me, those are two different filenames.
Definitely. Those things depend on the way the code was written. Some
applications will have the name and location (relative to $HOME) of your
personal config file hard-coded at compile time. You can't change that.
Some will have hard-coded default, but will allow it to be changed in the
system-wide config file. Then the location of the system-wide config file
gets hardcoded and you can't change that.
And some (very rarely) will have a default location for system-wide config
file hard-coded, but will look up for it in run-time relative to the
location of the binary. This is very rare because it's utterly unportable
and there are a lot of systems where you can't write code which does that.
And some apps might allow changing it with the environment variables or X
resources or yet another config file at some completely non-obvious
location, etc.
So the answer is: "it depends". As expected, I suppose. :-)
The definite information should be in the application's man page.
> But my question was about installations that are a bit older than two
> weeks and are possilby networked systems; i.e., it wasn't about this
> box. There seemed to be an implication that *what* "usr/bin", for
> example, that one was referring to could be unclear, as if there would
> typically be more than just /user/bin, and my two week old installation
> wouldn't seem to be representative of what's out there.
No, not typically, I think. But you could install an emulator for some
other OS which runs on the same hardware. That can be done by implementing
the necessary emulation code in kernel and then copying a bunch of
libraries and executables from the emulated OS to yours. So you end up with
"/usr/bin", "/foo_OS/usr/bin", "/bar_OS/usr/bin" or perhaps
"/emulations/foo_OS"/usr/bin" or whatever.
Then there are installation errors, compilers which keep their own
hierarchies (although that would more likely be usr/include), interesting
admins and probably other interesting uses of file system hierarchy.
--
.-. .-. I don't work here. I'm a consultant.
(_ \ / _)
| dave@willfork.com
|
Technical Details
Message-ID:
<slrnao0n2a.4ae.dave@delirium.arsdigita.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!h-213.61.75.74.host.de.colt.NET!not-for-mailReferences:
<slrnantpjl.8s2.tim@vegeta.ath.cx> <alpbg5312ns@enews2.newsguy.com> <slrnao0enm.2se.dave@delirium.arsdigita.de> <1606899.9FlBZM1iKG@blinkynews.invalid>Show Full Headers
Complete Article Headers
Message-ID: <slrnao0n2a.4ae.dave@delirium.arsdigita.de>
Subject: Re: [slrn] Getting It To Run At All [OT]
Date: Thu, 12 Sep 2002 09:20:19 +0000
From: Drazen Kacar <dave@willfork.com>
References: <slrnantpjl.8s2.tim@vegeta.ath.cx> <alpbg5312ns@enews2.newsguy.com> <slrnao0enm.2se.dave@delirium.arsdigita.de> <1606899.9FlBZM1iKG@blinkynews.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!h-213.61.75.74.host.de.colt.NET!not-for-mail
Newsgroups: news.software.readers
Organization: Δardak ni na nebu, ni na zemlji
Lines: 51
NNTP-Posting-Host: h-213.61.75.74.host.de.colt.net (213.61.75.74)
X-Trace: fu-berlin.de 1031822419 63579857 213.61.75.74 (16 [106417])
X-Face: 'UIE}WabGB0+U>p-#(hp<_+AD2{H],=qR*jHfm$/e]l0(kU3oOYc5lqG6gg>[\h^IOc{'siD6#!T&loIShgmYHz3#+*D38:|`~\BE,(W~Ol9BDfDwk'lKJ;Z{sY8E9(ME.E]'wvNO`$n#,;9Z`tOFcW/nHZq!BOSrM>V?C<5DTw=<$<xxB~RP@|-Co<|COgeVi1ozw_W>{c{M2V+|)0jSUl&!+8%8nIBF(u:E>SZWM^e
X-Attribution: Dave
Mail-Copies-To: never
X-No-Productlinks: yes
User-Agent: slrn/0.9.7.4 (SunOS)