🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #209819

Re: [SLRN] how to patch it?

#209819
From: Dragomir Kollaric
Date: Thu, 08 Nov 2007 08:39
80 lines
4261 bytes
On 2007-11-07, andrew  hit the keyboard and wrote:
> Dragomir Kollaric <Dragomir@Slivowitz.invalid.org> writes:
>

>> I used  SLRN before, and  before that gnus/XEmacs,  but I
>> really like SLRN the combination  with vim I came to like
>> a lot. But I get off topic here... :-)
>
> How did you find gnus? I am running it here for a month or
> so just  to explore tha  program before returning  to slrn
> fulltime. I have  found it a lot slower than  slrn. On the
> plus side  it offers infinite possibilities  to customise.
> Threading  is not  as good  as  slrn and  scoring in  gnus
> appears to  be something  of a  black art  :-) I  would be
> interested to hear how you found the program.

Well for one gnus really  needed a lot of configuration. But
it has the advantage that  mail groups and news-groups could
be seen in the  same window. At the time I  was more a "copy
and paste" user,  (still am) meaning that I  copied the code
and used it, without going into  the details of it. I really
wanted (and  still want) to  read and work with  the programs
I'm using.  I didn't  have the  time to  really go  into the
nitty gritty of the code.

I think because of this approach, when something didn't work
as  I used  to and  I was  just too  lazy to  hunt down  the
solution, I made the switch  to various other news-readers and
so I wound up using SLRN.

But when  my main-box is up  and running, I might  (just for
the fun  of it)  install XEmacs  and Gnus,  like I  said the
combination of mail and news is really good.

Of course I use SLRN with  vim, and this is another reason I
stay with SLRN. I have a very old laptop not running X, so I
can as editor not install  something too fancy. vim fits the
bill perfectly here.

Now for this vim running in X, I found some other (IMO) neat
feature:


"The following are a bit slow <this was the author of the code. 
 "for me to enable by default
if v:version >= 700
set cursorline   "highlight current line
set cursorcolumn "highlight current column
"
colorscheme relaxedgreen

-----

>
> Re patching: there are a  couple of safety nets that might
> help you. You can make a 'test run' like this:
>
> patch -bp0 --dry-run < patchfile

Thanks for the tip, in the meantime I realized that the problem was 
me not using "<"  in the command.

>
> (If  you  look  at  the  patch itself  it  will  show  the
> directory  structure at  the top  marked '---'  and '+++',
> this will guide you for the  p option.) -b will generate a
> backup file  that can then be  used with the -R  option to
> reverse a  disaster and  --dry-run (the most  useful) will
> run a simulation  with no changes made. Then  run the same
> syntax without the --dry-run option.
>
>       Andrew
>


Dragomir Kollaric
-- 
This signature is licensed under the GPL and may be 
freely distributed as long as a copy of the GPL is included... :-) 
Technical Details
Message-ID: <slrnfj5ir1.65f.Dragomir@Slivowitz.invalid.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!newsfeed.freenet.de!newsfeed01.chello.at!newsfeed02.chello.at!news.chello.at.POSTED!not-for-mail
References: <slrnfj3jm6.8mb.Dragomir@Slivowitz.invalid.org> <slrnfj3rf2.h9.pjr@pjr.gotdns.org> <slrnfj40kf.8ul.Dragomir@Slivowitz.invalid.org> <slrnfj42c4.h9.pjr@pjr.gotdns.org> <slrnfj44js.c9l.Dragomir@Slivowitz.invalid.org> <87r6j1hgqk.fsf@ilium.invalid>

Show Full Headers
Complete Article Headers
Message-ID: <slrnfj5ir1.65f.Dragomir@Slivowitz.invalid.org>
Subject: Re: [SLRN] how to patch it?
Date: Thu, 08 Nov 2007 09:39:59 +0100
From: Dragomir Kollaric <Dragomir@Slivowitz.invalid.org>
References: <slrnfj3jm6.8mb.Dragomir@Slivowitz.invalid.org> <slrnfj3rf2.h9.pjr@pjr.gotdns.org> <slrnfj40kf.8ul.Dragomir@Slivowitz.invalid.org> <slrnfj42c4.h9.pjr@pjr.gotdns.org> <slrnfj44js.c9l.Dragomir@Slivowitz.invalid.org> <87r6j1hgqk.fsf@ilium.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!newsfeed01.chello.at!newsfeed02.chello.at!news.chello.at.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: Slivowitz Drinker Unite-inc-invalid.
User-Agent: slrn/pre0.9.9-43/rt (Linux)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@chello.at
Lines: 80
NNTP-Posting-Host: 62.178.221.132 (62.178.221.132)
NNTP-Posting-Date: Thu, 08 Nov 2007 09:39:59 +0100
X-Trace: b7e0f4732cb5f9b17782109541