🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #195669

Re: [slrn]How to...?

#195669
From: Blinky the Shark
Date: Fri, 16 Feb 2007 20:18
72 lines
4439 bytes
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.

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>

>> ---------- 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
>>.

-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Technical Details
Message-ID: <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!t-online.de!news-lei1.dfn.de!news1.uni-leipzig.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>

Show Full Headers
Complete Article Headers
Message-ID: <slrnetc4bq.bh5.no.spam@thurston.blinkynet.net>
Subject: Re: [slrn]How to...?
Date: Fri, 16 Feb 2007 20:18:56 +0000
From: Blinky the Shark <no.spam@box.invalid>
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>
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-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 72
X-Trace: individual.net /x+6SgfWqCS4S5DfhQzeVAbCxeIeukACFM6eBWglyZfII+NOFI
X-Face: Jb-wQ7r&vrN}~8MC5B09S4&.ieh!Q:Di/XN.xrd#CU%;
 )bPa`Hm^(,3o$n(s75[P+$F+Q^4~Owj`WzkBtZU/#gL2BvEBm/e=/1,R0}d@q@)E
X-OS: Mandriva 2006 Linux; kernel 2.6.12
X-WebTV-Stationery: Standard; BGColor=black; TextColor=black
User-Agent: slrn/0.9.8.1 (Linux)