Article View: news.software.readers
Article #217532Re: [slrn] Changing macro installation path?
From: Peter J Ross
Date: Sat, 08 Mar 2008 19:03
Date: Sat, 08 Mar 2008 19:03
80 lines
4588 bytes
4588 bytes
In news.software.readers on Thu, 06 Mar 2008 15:00:40 -0500, Marshall Price <d021317c@yahoo.com> wrote: > "Not yet perfect"? How about-- > > Original: > > This variable specifies (in a comma separated list) paths to additional > directories where you wish to keep your S-Lang macros. These paths may > be absolute (beginning with "/") or relative to $HOME (or $SLRNHOME if > set), and tell slrn where to look when loading macros with the interpret > command. > > (Note: "Additional" to what? Additional to the compile-time defaults, which in my case are /usr/local/share/slrn/slang /usr/local/share/slsh/local-packages /usr/local/share/slsh > Is the word necessary? Something like it is necessary if the effect of setting the variable is to be fully documented. > Will paths relative to $HOME be searched even if $SLRNHOME is set? No. > If not, perhaps $SLRNHOME should be mentioned first.) Yes: see below. > Recommended substitution: > > This variable, a comma-separated list, specifies which directories may > contain S-Lang macros. The paths may be absolute (beginning with "/") or > relative to $HOME (or $SLRNHOME, if set), and tell S-Lang's "interpret" > command where to look. Revision using some of your suggestions: This variable, which takes a comma-separated list of arguments, specifies directories additional to compile-time defaults where you wish to keep your S-Lang macros. The paths may be absolute (beginning with "/") or relative to $SLRNHOME (if set) or $HOME (otherwise), and tell the "interpret" command where to look when loading macros. > Original: > > In Unix, the configure script automatically sets the default of this > variable to the directory where the macros that come with slrn are > installed. If it was called without any parameters, this is > /usr/local/share/slrn/slang. If a macro does not exist in a path listed > in macro_directory, slrn will first try to find it in $HOME (or > $SLRNHOME), then in the compile-time default directory. > > Recommended substitution: > > In Unix, the configure script sets this variable to the directory where > it puts the macros which come with slrn, /usr/local/share/slrn/slang by > default. If a required macro does not exist among the paths in > macro_directory, slrn will seek it in $HOME, then in $SLRNHOME (if set), > and then in the compile-time default directory. Revision based on your improved version: In Unix, the configure script sets this variable to the directory where it puts the macros which come with slrn, /usr/local/share/slrn/slang by default. If a required macro does not exist among the paths in macro_directory, slrn will seek it in $SLRNHOME (if set) or $HOME (otherwise), and then in the compile-time default directory. Many thanks. -- PJR :-) <http://pjr.lasnobberia.net/usenet/>
Technical Details
Message-ID:
<slrnft5oo6.c76.pjr@pjr.motzarella.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!news2.arglkargh.de!nuzba.szn.dk!pnx.dk!news.motzarella.org!motzarella.org!not-for-mailReferences:
<20080208180701@ilium.andrews-corner.org> <slrnfqqdvd.her.pjr@pjr.motzarella.org> <20080211174923@ilium.andrews-corner.org> <slrnfr39c0.ka6.pjr@pjr.motzarella.org> <20080213084455@ilium.andrews-corner.org> <slrnfr4btd.521.pjr@pjr.motzarella.org> <20080213122628@ilium.andrews-corner.org> <slrnfr4ok0.8jl.pjr@pjr.motzarella.org> <13t0jbc6s43ofb6@corp.supernews.com>Show Full Headers
Complete Article Headers
Message-ID: <slrnft5oo6.c76.pjr@pjr.motzarella.org> Subject: Re: [slrn] Changing macro installation path? Date: Sat, 08 Mar 2008 19:03:34 +0000 From: Peter J Ross <pjr@example.invalid> References: <20080208180701@ilium.andrews-corner.org> <slrnfqqdvd.her.pjr@pjr.motzarella.org> <20080211174923@ilium.andrews-corner.org> <slrnfr39c0.ka6.pjr@pjr.motzarella.org> <20080213084455@ilium.andrews-corner.org> <slrnfr4btd.521.pjr@pjr.motzarella.org> <20080213122628@ilium.andrews-corner.org> <slrnfr4ok0.8jl.pjr@pjr.motzarella.org> <13t0jbc6s43ofb6@corp.supernews.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!news2.arglkargh.de!nuzba.szn.dk!pnx.dk!news.motzarella.org!motzarella.org!not-for-mail Newsgroups: news.software.readers Organization: none Lines: 80 Reply-To: Peter J Ross <peadar.ruadh@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: feeder.motzarella.org U2FsdGVkX1/I/aiO9wBjMMSdrIfKJTawnuDPaRq3Z3lqACYOCHipfBCgSRX+qxPGRoCw54nJKfiz88GRTquLk0UxyvGfFszQ/jvAPKkkxfvCOfYTrgMvzM3P7SmZza/F5QMIEVl3Xac= X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Sat, 8 Mar 2008 19:06:03 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1+KgfUGHI36ksv+6mSEpg9C Cancel-Lock: sha1:+Fjsx7vD2fUnizMtWAcT89A/wLo= User-Agent: slrn/pre0.9.9-97/mm (Linux)