🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Duncan Watson Mon, 22 Nov 1999 00:00
slrn and GPG/PGP -newbie Q's
#54444
Author: Duncan Watson
Date: Mon, 22 Nov 1999 00:00
23 lines
1585 bytes
Hello all,

This is a bit of a newbie question.  I am new to using slrn, I am a
mutt user and since slrn is considered similiar I choose slrn as my
newsreader.  First I want to say that I really like slrnpull.  I
originally started using leafnode but slrnpull is much easier to
maintain for a small newsfeed and so switched immediately.  Nice work.

OK here are the questions:
1. How can I get pgp or gpg intergration with slrn?
2. What editor do people recommend to use with slrn? (currently using
xemacs)

Thanks in Advance for any replies, comments, even flames,
/Duncan
-- 
Duncan Watson             oOoOo   "Everyone was acting normal, so I   oOoOo  
Unix Sysadmin at Large     oOoOo    tried to look nonchalant..."     oOoOo  
climer@io.com               oOoOo                                   oOoOo  
Portland, OR                 oOoOo                                 oOoOo


Re: slrn and GPG/PGP -newbie Q's
#54469
Author: Christian Perrier
Date: Tue, 23 Nov 1999 00:00
75 lines
2678 bytes
Duncan Watson <climer@io.toSPAMast.com> wrote :

>1. How can I get pgp or gpg intergration with slrn?

Got this from nsr :

1. Insert the following in your .slrnrc :

% Command used to invoke editor.  In the following example, %s represents
% the file name and %d represents the starting line number
% set editor_command "jed %s -g %d -tmp"
set editor_command "postpgp.pl %s"

2. put postpgp.pl in your path (the called editor is either defined
in EDITOR or manually in the script. I put "jed" but you may of
course put your favorite one). THe call for "pgp" is hardcoded in
the script

#!/usr/bin/perl
# [postpgp.pl] v. 2.0
#
# written by jason steiner, jsteiner@anwsun.phya.utoledo.edu, Jan 1993
#
# if you use or make improvements to this program i would appreciate
# copies of your modifications & your PGP public key.
#
# [06.03.1998] modified by Ren� Scholz <mrz@informatik.uni-jena.de>

$HANDLE_POINTS=0;       # if 1: change . to _.  (for inews)

($visual=$ENV{'EDITOR'}) || ($visual="jed");
#($visual="/usr/bin/jed");
$name=$ARGV[$#ARGV];    # name of edited file in /tmp (or so)

system($visual,@ARGV);  # create posting with editor

print "Sign this message? [yN]: "; chomp($_=<STDIN>);
if(lc($_) eq "y")
{
  push(@opts, '-st', '+clearsig=on');
  &sign_message();
}



sub sign_message
{
  if(@opts)
  {
    open(INPUT,$name);
    open(HEAD,">$name.head");
    open(BODY,">$name.body");
    while (<INPUT>)
    {
      if (1 .. /^$/) { print HEAD; }
      else
      {
	s/^\./_./  if($HANDLE_POINTS);
	print BODY;
      }
    }
    close(HEAD);
    close(BODY);
    rename "$name.body2", "$name.body";
    system('pgp', '-a', @opts, "$name.body");
    system "cat $name.head $name.body.asc > $name";
    unlink("$name.head", "$name.body", "$name.body.asc");
  }
}


-- 


Re: slrn and GPG/PGP -newbie Q's
#54500
Author: Duncan Watson
Date: Tue, 23 Nov 1999 00:00
49 lines
2712 bytes
Sven,

Thanks for your help.  Comments inserted below.
In article <81e8ss$1ogc5$2@fu-berlin.de>, Sven Guckes wrote:
>* Duncan Watson <climer@io.toSPAMast.com>:
>> 1. How can I get pgp  or gpg integration with slrn?
>
>I just sign/encrypt messages from within my editor
>when I have finished editing.  Pretty simple that.
>But Ren� Scholz mrz@informatik.uni-jena.de has a
>page on that matter:
>
>page: http://www.slrn.org/#pgp
>link: http://www.thur.de/~Voland/pub/slrn/

Excellent.  I am checking out both pages and will look into signing
within my editor.
>
>> 2. What editor do people recommend to use with slrn?
>
>I suggest Vim (Vi IMproved) as it is "text based", too.
>It starts up quickly and configuration for messages editing was easy.
>see my setup file at http://www.math.fu-berlin.de/~guckes/setup/vimrc
>especially the section about "Email/News - Editing replies/followups".
>
>> (currently using xemacs)
>
>Then why aren't you using Gnus?  ;-)

I am a newbie with xemacs and am not a full convert as emacs as an OS
and lifestyle ;-). I really like mutt for my email and am a believer
in one program doing a task very well.  I believe the emacs does do
editing well and really like the color support in xemacs.

slrn is a program that has been recommended to me since I like mutt so 
much.  I am now trying to get slrn as customized and comfortable for
me as mutt is.

>
>Sven
>
/Duncan
-- 
Duncan Watson             oOoOo  Climbing Trip Plan #1 - Smith Rock,  oOoOo  
Unix Sysadmin at Large     oOoOo       OR in 2000 (confirmed)        oOoOo  
climer@io.com               oOoOo                                   oOoOo  
Portland, OR                 oOoOo                                 oOoOo

Re: slrn and GPG/PGP -newbie Q's
#54512
Author: Sven Guckes
Date: Tue, 23 Nov 1999 00:00
29 lines
1728 bytes
* Duncan Watson <climer@io.toSPAMast.com>:
> 1. How can I get pgp  or gpg intergration with slrn?

I just sign/encrypt messages from within my editor
when I have finished editing.  Pretty simple that.
But Ren� Scholz mrz@informatik.uni-jena.de has a
page on that matter:

page: http://www.slrn.org/#pgp
link: http://www.thur.de/~Voland/pub/slrn/

> 2. What editor do people recommend to use with slrn?

I suggest Vim (Vi IMproved) as it is "text based", too.
It starts up quickly and configuration for messages editing was easy.
see my setup file at http://www.math.fu-berlin.de/~guckes/setup/vimrc
especially the setion about "Email/News - Editing replies/followups".

> (currently using xemacs)

Then why arent you using Gnus?  ;-)

Sven

-- 
Sven Guckes guckes-slrn@math.fu-berlin.de - editing messages in color with VIM:
Using SLRN with Vim: http://www.math.fu-berlin.de/~guckes/slrn/and.vim.html

Re: slrn and GPG/PGP -newbie Q's
#54529
Author: Remco Gerlich
Date: Wed, 24 Nov 1999 00:00
16 lines
1436 bytes
Duncan Watson <climer@io.toSPAMast.com> wrote:
> 2. What editor do people recommend to use with slrn? (currently using
> xemacs)

Many people seem to use Vim. But I recommend Jed; it's by the same
author as slrn/slrnpull, it looks nice, starts up really fast, and
uses the emacs keybindings by default, and you're probably already
used to them. Great editor.

Actually, I use a script that calls Jed, a spell checker, a
random sig program, etc, but that's not the point :)
-- 
Remco Gerlich,  scarblac@pino.selwerd.cx
Hi! I'm a .sig virus! Join the fun and copy me into yours!

Re: slrn and GPG/PGP -newbie Q's
#54540
Author: René Scholz
Date: Wed, 24 Nov 1999 00:00
34 lines
1981 bytes
-----BEGIN PGP SIGNED MESSAGE-----

Christian Perrier <bubulle@mykerinos.kheops.frmug.org> wrote:
>set editor_command "postpgp.pl %s"
>
>#!/usr/bin/perl
># [postpgp.pl] v. 2.0

There is a newer one (2.1), which can handle switches in editor_command
(ex. goto a certain line):

   http://www.thur.de/~Voland/pub/slrn/postpgp.pl

ren�
- -- 
"Wer die Freiheit aufgibt, um Sicherheit zu gewinnen,
 der wird am Ende beides verlieren"             (Benjamin Franklin)
==> Voland @IRC <==  2048/0xF11D6871  2A8D 3F92 4EB8 E55C  3605 D571 38C8 E2B8
mrz@informatik.uni-jena.de                         http://www.thur.de/~Voland/

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3in
Charset: latin1

iQEVAwUBODvlx8cWjdvxHWhxAQEhPQgAlzxT8JzHVnS0Y+NQjzPMjUncjl6sT964
BRmJGBcsOq5U0NlWBkcaPCHX3YJSi/9if/E9nUOqmMDWrXagXsoekA6djs3HIDjU
uEZvao5XwCl/FPuL+iFxPCteBV85A1Qn8wn9gce/kCG7iYaZ2cFDxfJqQT7A1cZl
+9/6v+ZmoFSvNXmkPyOaR1OVCaSqvPJYmEKdp8TkUIk33ZzJDlLg0Rf62rbtuqH5
3QKKwx640A/urZan8awBVvKRGEj5WYoafTaMjV8Vq04ZX94MpXykfREThwIPWtAM
YEjBACexs15SKpy5O5P9ZSkFY4JKMNvyz1Mxv8lkOaFPaObEjM16WQ==
=JhpS
-----END PGP SIGNATURE-----

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads