🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #109450

Re: [slrn] Getting It To Run At All [OT]

#109450
From: Matthew Malthouse
Date: Thu, 12 Sep 2002 09:39
100 lines
5139 bytes
In article <alpbg5312ns@enews2.newsguy.com>, Blinky the Shark wrote:
> On 10 Sep 2002 23:51:19 -0700, Tim Hammerquist wrote:
>> 
>> In addition to using ~/.slrnrc instead of $SLRNDIR/slrn.rc,
> 
> Interjection: I see Linux doesn't need extensions.  Then I see 
> extensions all over the place.  What's the real difference between 
> .slrn and slrn.rc (other than that the first is hidden)?  I mean about 
> using or not using an extension, in a case like that.  I can't believe 
> it's truly a coin-toss.
 
It's convention rather than requirement.

What "rc" stands for depends on who you ask, "run control" is as
reasonable an intepretation as any I've heard.

slrn.rc system wide config while .slrnrc per user config

By convention most configuration files are hidden.

And no, Linux does not need file type extentions.  They are mostly there
for human readability or out of habit.

Do "file *", or as I have here "file .*" and the OS determines the file
type from the file's structure:
    .bashrc:       ASCII text
    .emacs:        Lisp/Scheme program text
    .followup:     ASCII news text
    .followup.swp: data
    .gtkrc:        ASCII text
    .jnewsrc:      ASCII text
    .jnewsrc.time: ASCII text, with no line terminators
    .jnewsrc~:     ASCII text
    .kde:          directory
    127739_1_09.ram:   ASCII text, with CRLF line terminators
    3mod.pdf:      PDF document, version 1.3
    EK.pdf:        PDF document, version 1.2
    Efeu.gif:      GIF image data, version 89a, 1023 x 93,
    MOV01279.zip:  Zip archive data, at least v2.0 to extract
    alt.html:      HTML document text
    citynight.JPG: JPEG image data, JFIF standard 1.01, resolution 
      (DPI), "LEAD Technologies Inc. V1.01��", 180 x 180
    css.tar:       GNU tar archive
    ddclient-3.6.2-1.noarch.rpm:   RPM v3 bin i386 ddclient-3.6.2-1
    leafnode-1.9.24.rel.tar.gz:    gzip compressed data,
      deflated, original filename, `leafnode-1.9.24.rel.tar', last 
      modified: Wed Jul 10 06:24:38 2002, max compression, os: Unix
    mail.eml:      news or mail text
    nemequitepas.txt:   ISO-8859 text

and so on.

Occasionally applications require extentions to identify their file
types but this is rare enough that I can't think of a definitive
example.  Consider two identical files:
    kitnosupport:             ASCII HTML document text
    kitnosupport.html:        ASCII HTML document text
The OS know what they are irrespective of the extention.

If I "Open..." in Mozilla at first I only see kitnosupport.html because
by default Mozzy's open dialogue only shows HTML files but that can be
changed.

>>> I've got it scattered around at usr/share/apps, usr/bin,
>>> usr/lib and two hidden directories in my home dir.
>> 
>> Which I've interpreted as meaning: "/usr/share/apps", "/usr/bin",
>> "/usr/lib", etc.
> 
> Yes.  Nomenclature internalized from earlier post.  :)
> 
> That said...is there likely to *be* a usr/share/apps, usr/bin and 
> usr/lib that *aren't* off / ?  I'm not dissing the convention -- just 
> wondering if this would also be an actual problem or only a theoretical 
> one.

It could be, depending how complex a particular set-up gets.  Consider
this real example:
    /var/named/pz/{file}
    /named/var/named/{file}

Conevntions have changed as standards have developed. Popular
distributions do things in different ways too.

Probably the best approach is to determine what suits and stick to it.
Here I have
    ~/bin/        users individual stuff
    /opt/         for commercial applications that insist on it
    /usr/local/   for everything else added after the base install

Do:
    find / -type d -name bin
to get a handle on what is alreader about.

Matthew
-- 
A web site is the high tech equivalent of a dog marking a lamp post.
            - Matthew Parris
    http://www.calmeilles.co.uk/
Technical Details
Message-ID: <slrnao0o5v.1q5.usenet@calmeilles.co.uk>
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!cyclone.bc.net!news.mailgate.org!newsfeed.stueberl.de!newspeer1-gui.server.ntli.net!ntli.net!newsfep2-win.server.ntli.net.POSTED!53ab2750!not-for-mail
References: <slrnantpjl.8s2.tim@vegeta.ath.cx> <alpbg5312ns@enews2.newsguy.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnao0o5v.1q5.usenet@calmeilles.co.uk>
Subject: Re: [slrn] Getting It To Run At All [OT]
Date: Thu, 12 Sep 2002 09:39:11 +0000
From: Matthew Malthouse <usenet@calmeilles.demon.co.uk>
References: <slrnantpjl.8s2.tim@vegeta.ath.cx> <alpbg5312ns@enews2.newsguy.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!news.mailgate.org!newsfeed.stueberl.de!newspeer1-gui.server.ntli.net!ntli.net!newsfep2-win.server.ntli.net.POSTED!53ab2750!not-for-mail
Newsgroups: news.software.readers
Organization: Rollo's Remarkable Realtors
Reply-To: matthew@calmeilles.demon.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: slrn/0.9.7.4 (Linux)
Lines: 99
NNTP-Posting-Host: 80.1.122.59
X-Complaints-To: abuse@ntlworld.com
X-Trace: newsfep2-win.server.ntli.net 1031820762 80.1.122.59 (Thu, 12 Sep 2002 09:52:42 BST)
NNTP-Posting-Date: Thu, 12 Sep 2002 09:52:42 BST