🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #43641

Re: slrn FAQ

#43641
From: Fluffy
Date: Sun, 11 Oct 1998 00:00
34 lines
2257 bytes
Brno brno John E. Davis brno brno brno davis@space.mit.edu brno Kitty?

> On 10 Oct 1998 10:36:50 -0500, Bruce Schultz <jbs@galstar.com>
> wrote:
> >Once configured in .slrnrc, the behavior *becomes* default behavior.
> 
>    I do not believe that this is the meaning of `default'.  The
> `default' behavior is is what you get when you run slrn out of the box
> with no changes to the configuration.  Otherwise, any behavior becomes
> a default behavior.

Yup.  In fact, all newsreaders which use an external text editor and
put an address in the attribution line can do Cc: by that definition
of 'default.'  Just use the right editor command.  Adjust to taste if
you include message IDs =)

#!/usr/local/bin/perl
die "annoy-o-matic <filename> [line]\n" unless $file = $ARGV[0];
$line = $ARGV[1] + 0;
rename $file, "$file.$$";
open F, ">$file" ; open T, "$file.$$";
while (<T>) { last if /^$/ ; print F $_ }
while (<T>) { next if /^$/ ; $att=$_ ; last }
$att =~ /([-+.%\w]+\@[-+.%\w]+)/;
if ($1) { print F "Cc: $1\n"; $line++ }
print F "\n$att" ; print F $_ while <T>;
close T ; close F ; unlink "$file.$$";
exec 'emacs', "+$line", "$file";
#
# Brno!
# Fluffy


Technical Details
Message-ID: <slrn7223hc.sgn.fluffy@fluffy.meow.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.mbox.zip!not-for-mail
References: <slrn70m1pm.3it.davis@space.mit.edu> <kig4stcejxe.fsf@jagor.srce.hr> <m3af34sa25.fsf@star044213.galstar.com> <slrn721stv.q5k.davis@aluche.mit.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7223hc.sgn.fluffy@fluffy.meow.org>
Subject: Re: slrn FAQ
Date: Sun, 11 Oct 1998 00:00:00 +0000
From: fluffy@meow.org (Fluffy)
References: <slrn70m1pm.3it.davis@space.mit.edu> <kig4stcejxe.fsf@jagor.srce.hr> <m3af34sa25.fsf@star044213.galstar.com> <slrn721stv.q5k.davis@aluche.mit.edu>
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!not-for-mail
X-Deja-AN: 400018210
Mail-Copies-To: never
X-P-Troll: linux
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!fluffy.meow.org
X-P-Linux: troll
X-P-Brno: Brno
X-Trace: mail2news.demon.co.uk 908136059 mail2news:17561 mail2news mail2news.demon.co.uk
Organization: The Scourge of the GNKSA
X-URL: http://members.tripod.com/~gerglery/
User-Agent: slrn/0.9.5.3-canlock (UNIX)
Cancel-Lock: sha1:Vf41q0dGWL5oIfHEFhojzGSGF2c= sha1:mtT812jX/Q2CLQHkwakk9ooYuS0=
Newsgroups: news.software.readers