🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #195676

Re: [slrn]How to...?

#195676
From: Whiskers
Date: Fri, 16 Feb 2007 22:32
78 lines
4682 bytes
On 2007-02-16, Blinky the Shark <no.spam@box.invalid> wrote:
> Whiskers wrote:
>> On 2007-02-16, Blinky the Shark <no.spam@box.invalid> wrote:
>>> Whiskers wrote:
>>>
>>>> Sorry if that was unclear.  There doesn't seem to be a 'leave
>>>> messages on server' equivalent for fetching messages from a 'local
>>>> file'.  I find the one copy is sufficient - on my system, KMail
>>>> moves the messages from ~/News/ to ~/.Mail/.Whiskers.directory/ 
>>>>
>>>> KMail does offer the option for a 'pre-command'; I've just put
>>>>
>>>>     cat /home/mark/News/slrn_Posts /home/mark/News/old_Posts
>>>>
>>>> in that box (and created old_Posts using touch, so that it's there
>>>> when needed).  With a bit of luck that should result in all the sent
>>>> articles being preserved in both the ~/News/ directory and in a
>>>> KMail 'folder'.
>>
>> There should be a > between the two file-names in that command, of
>> course. 
>><Doh>
>
> I get an "operation not permitted" error with it or without it.

Permissions?

> Wait...doesn't >> mean append?
>
> <clickety>
>
> <q>
>
> 3.2.2. Appending a File to Another File
>
> This is fairly simple, "cat file1 >> file2" appends the text of the
> first file to the end of the second file. Be careful, if you only use
> one angle bracket (>) you will overwrite the contents of file2. 
>
> </q>

Did I claim to be able to count?   <sorry>

>>> ---------- Second Response, After Doing A Little Work  -------------
>>>
>>> While I want to try *using* Kmail as a slrn-saves reader, I don't
>>> want to be dependent on it; i.e., I don't want it to *take over* and
>>> remove saves from ~/News/slrn.
>>>
>>> So here's what I just did...
>>>
>>> I left slrn putting saved messages in file ~/News/slrn/saves .  But I
>>> also created a ~/News/slrn/saves_archive/ directory.
>>>
>>> I pointed Kmail to ~/News/slrn/saves, and created a "slrn saves"
>>> folder there and a filter to direct slrn saves to that folder.  Then
>>> I made a Kmail precommand for that box to:
>>>
>>> cp ~/News/slrn/saves ~/News/slrn/saves_archive
>>>
>>> So before Greedy Kmail pulls new slrn saves into itself it copies
>>> them to the archive folder for safe keeping.
>>
>> Does cp append the new text to the file in /saves_archive/ or does it
>> over-write the previous content?  The cat command 'concatenates' the
>> file content.  On my set-up, slrn "saves" articles by appending (or
>> concatenating) them to a file with the name of the newsgroup
>> concerned.  
>
> My bad.  I didn't test thoroughly enough.  I've changed to cat, but as I
> noted above in this reply it doesn't work.  Without >, with >, and with

Hmmm ... 

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Technical Details
Message-ID: <20070216223250.35FB.e.NOFFLE@ID-107770.user.individual.net>
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!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <slrnet33lg.a2u.chrisgame@URANUS.example.net> <20070213193427.59D7.b.NOFFLE@ID-107770.user.individual.net> <slrnet4n40.tvv.no.spam@thurston.blinkynet.net> <20070214151419.18DF.0.NOFFLE@ID-107770.user.individual.net> <ki3ca4-4q2.ln1@news.ducksburg.com> <20070214212229.18DF.b.NOFFLE@ID-107770.user.individual.net> <Xns98D7A0EEE1B3Clouiscypherhellorg@140.99.99.130> <20070214233852.18DF.e.NOFFLE@ID-107770.user.individual.net> <d8mca4xo34.ln2@news.gates-of-hell.com> <20070215125100.3DD7.2.NOFFLE@ID-107770.user.individual.net> <slrnet9dt0.hrk.no.spam@thurston.blinkynet.net> <20070215212549.3DD7.7.NOFFLE@ID-107770.user.individual.net> <slrneta37f.nnt.no.spam@thurston.blinkynet.net> <20070216145718.35FB.5.NOFFLE@ID-107770.user.individual.net> <slrnetc4bq.bh5.no.spam@thurston.blinkynet.net>

Show Full Headers
Complete Article Headers
Message-ID: <20070216223250.35FB.e.NOFFLE@ID-107770.user.individual.net>
Subject: Re: [slrn]How to...?
Date: Fri, 16 Feb 2007 22:32:50 +0000
From: Whiskers <catwheezel@operamail.com>
References: <slrnet33lg.a2u.chrisgame@URANUS.example.net> <20070213193427.59D7.b.NOFFLE@ID-107770.user.individual.net> <slrnet4n40.tvv.no.spam@thurston.blinkynet.net> <20070214151419.18DF.0.NOFFLE@ID-107770.user.individual.net> <ki3ca4-4q2.ln1@news.ducksburg.com> <20070214212229.18DF.b.NOFFLE@ID-107770.user.individual.net> <Xns98D7A0EEE1B3Clouiscypherhellorg@140.99.99.130> <20070214233852.18DF.e.NOFFLE@ID-107770.user.individual.net> <d8mca4xo34.ln2@news.gates-of-hell.com> <20070215125100.3DD7.2.NOFFLE@ID-107770.user.individual.net> <slrnet9dt0.hrk.no.spam@thurston.blinkynet.net> <20070215212549.3DD7.7.NOFFLE@ID-107770.user.individual.net> <slrneta37f.nnt.no.spam@thurston.blinkynet.net> <20070216145718.35FB.5.NOFFLE@ID-107770.user.individual.net> <slrnetc4bq.bh5.no.spam@thurston.blinkynet.net>
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!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: is an alien concept
Lines: 78
X-Trace: individual.net iQ/mUdZlezBCf8nALUnYbguGK2ruXz9XXGYS/I/fgyhoOQbBXz
X-Orig-Path: ID-107770.user.individual.net!not-for-mail
X-Face: (8UIp\C%,7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_"Pmt)1xC~QW%bU/xrlDuux";
 aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00xYer];
 5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@p&
 g^8<z5>HA
User-Agent: slrn/0.9.8.1 (Linux)