Thread View: news.software.readers
6 messages
6 total messages
Started by David Adler
Wed, 15 Apr 1998 00:00
slrn: random signatures?
Author: David Adler
Date: Wed, 15 Apr 1998 00:00
Date: Wed, 15 Apr 1998 00:00
17 lines
1048 bytes
1048 bytes
I'm currently using mutt to read my mail, and have discovered the wonderful world of random signatures therein, using a little perl script called "randsig.pl". Is there some way of getting random sigs in slrn? Setting signature to "~/bin/randsig.pl|" doesn't work as it does in mutt. Any ideas? Thanks! -- David H. Adler - <dha@panix.com> - http://www.panix.com/~dha/ "We're dumber than squirrels. We hear voices and do what they command. I have broccoli in my socks." - Dilbert's boss
Re: slrn: random signatures?
Author: David Adler
Date: Wed, 15 Apr 1998 00:00
Date: Wed, 15 Apr 1998 00:00
26 lines
1483 bytes
1483 bytes
On 15 Apr 98 09:45:01 GMT, Peppe <c928400@student.dtu.dk> wrote: >Thus wrote David Adler <dha@panix.com> >> I'm currently using mutt to read my mail, and have discovered the >> wonderful world of random signatures therein, using a little perl >> script called "randsig.pl". > >> Is there some way of getting random sigs in slrn? Setting signature >> to "~/bin/randsig.pl|" doesn't work as it does in mutt. > >I have the following lines in my .slrnrc that calls my signature >script, then edit my posts: > > set signature .signature > set editor_command "getsig>~/.signature; vim -c ':0;/^$/+' '%s'" Hmm... sounds good, but I don't speak vim. :-) What exactly does all that mean? Or, barring an actual explanation, how would one do that in emacs? Thanks! -- David H. Adler - <dha@panix.com> - http://www.panix.com/~dha/ "Chicken Wire?" - Lou Marini
Re: slrn: random signatures?
Author: Peppe
Date: Wed, 15 Apr 1998 00:00
Date: Wed, 15 Apr 1998 00:00
23 lines
1530 bytes
1530 bytes
Thus wrote David Adler <dha@panix.com>
> I'm currently using mutt to read my mail, and have discovered the
> wonderful world of random signatures therein, using a little perl
> script called "randsig.pl".
> Is there some way of getting random sigs in slrn? Setting signature
> to "~/bin/randsig.pl|" doesn't work as it does in mutt.
I have the following lines in my .slrnrc that calls my signature
script, then edit my posts:
set signature .signature
set editor_command "getsig>~/.signature; vim -c ':0;/^$/+' '%s'"
Peppe
--
Very few people at the age of __/-\__ Preben Guldberg
eight and a half know that _nice_ (o o) c928400@student.dtu.dk
also means `scrupulously exact', oOOo (_) oOOo --------------------
but Anathema was one of them. --Pratchet & Gaiman, _Good Omens_
Re: slrn: random signatures?
Author: Peppe
Date: Wed, 15 Apr 1998 00:00
Date: Wed, 15 Apr 1998 00:00
33 lines
1983 bytes
1983 bytes
Thus wrote David Adler <dha@panix.com> > On 15 Apr 98 09:45:01 GMT, Peppe <c928400@student.dtu.dk> wrote: [--- snip ---] > >I have the following lines in my .slrnrc that calls my signature > >script, then edit my posts: > > set signature .signature > > set editor_command "getsig>~/.signature; vim -c ':0;/^$/+' '%s'" > Hmm... sounds good, but I don't speak vim. :-) What exactly does all > that mean? Or, barring an actual explanation, how would one do that > in emacs? OK, I was just giving a (too) quick response here. The call includes two commands (separated by ";"). First I have a "getsig" script that will randomly choose a signature. I call the script and write the output (my new sig) to ~/.signature. Then I start my editor (with an extra command "-c '...'" - but never mind) on the file - represented by '%s'. Hope this makes up for my confusing start :-) Peppe -- Preben Guldberg __/-\__ "Power without responsibility -- c928400@student.dtu.dk (o o) the prerogative of the harlot --------------------------oOOo (_) oOOo-- throughout the ages." http://www.student.dtu.dk/~c928400 --Rudyard Kipling
Re: slrn: random signatures?
Author: Heikki Kantola
Date: Wed, 15 Apr 1998 00:00
Date: Wed, 15 Apr 1998 00:00
20 lines
1484 bytes
1484 bytes
Peppe <c928400@student.dtu.dk> informed news.software.readers with the following: >I have the following lines in my .slrnrc that calls my signature >script, then edit my posts: > > set signature .signature > set editor_command "getsig>~/.signature; vim -c ':0;/^$/+' '%s'" Stupid question: wouldn't it be more efficient (apart from disk space wise :)) to set only mail_editor_command and post_editor_command to that and then set score_editor_command to not include signature lottery? -- Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI> L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta tunnilta.
Re: slrn: random signatures?
Author: Peppe
Date: Wed, 15 Apr 1998 00:00
Date: Wed, 15 Apr 1998 00:00
27 lines
1910 bytes
1910 bytes
Thus wrote Heikki Kantola <hezu@iki.fi> > Peppe <c928400@student.dtu.dk> informed > news.software.readers with the following: > >I have the following lines in my .slrnrc that calls my signature > >script, then edit my posts: > > set signature .signature > > set editor_command "getsig>~/.signature; vim -c ':0;/^$/+' '%s'" > Stupid question: wouldn't it be more efficient (apart from disk space > wise :)) to set only mail_editor_command and post_editor_command to > that and then set score_editor_command to not include signature lottery? Not that stupid :-) I actually have these set seperately, but for the sake of brevity (and being in a bit of a hurry :-( ) I just used the simplest example. Peppe -- Preben Guldberg <c928400@student.dtu.dk> http://www.student.dtu.dk/~c928400 I know it's very bad form to quote one's own reviews, but I would like to mention something that the New York Times said about me a year ago which I've always treasured - they said: "Mr. Lehrer's muse is not fettered by such inhibiting factors as - taste". --Tom Lehrer: Fight Fiercely, Harvard
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