🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #35390

Re: slrn: removing the signature

#35390
From: Sven Guckes
Date: Mon, 21 Jul 1997 00:00
38 lines
2181 bytes
schneidt@mabi.de (Torsten Schneider):
> Is there a possibility to make slrn automatically remove the signature when
> posting a followup/mail reply?  I don't see a need to include this in
> followups, so I would like slrn to do this work for me.

Well, this need not be a feature of slrn - every good editor should allow this.
Here is a mapping for Vi (and clones) to remove the signature:

	http://www.math.fu-berlin.de/~guckes/vim/rc :
	"
	"   ,kqs = kill quoted sig (to remove those damn sigs for replies)
	map ,kqs G?^> *-- $<CR>dG

The "<CR>" can be used literally for Vim - with other Vi clones
you need to enter this as ^V^M (control-v control-m).

This mapping assumes three things:
(1) The signature is indicated by "sigdashes",
    ie a line with dash-dash-space in it (no more, no less).
(2) The editor is called upon the *quoted* previous post.
    => search for "quoted sigdashes".
    NOTE:  The *standard* quote string is "> " (closing angle bracket, space).
(3) The signature is all text including and after the last occurrence of a
    sigdashes line (hence the backward search from the very end of the buffer).

Slrn users can test this mapping right away by using a Vi clone as editor 
and following up to this post.  :-)

Sven

-- 
 http://www.math.fu-berlin.de/~guckes/rfc/minimal.text.structure.html
 http://www.math.fu-berlin.de/~guckes/sig/
 http://www.math.fu-berlin.de/~guckes/slrn/
 http://www.math.fu-berlin.de/~guckes/vim/

Technical Details
Message-ID: <slrn5t7m5u.1hr.guckes@banach.math.fu-berlin.de>
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: <5qstqk$6iv$1@sonne.mabi.de>

Show Full Headers
Complete Article Headers
Message-ID: <slrn5t7m5u.1hr.guckes@banach.math.fu-berlin.de>
Subject: Re: slrn: removing the signature
Date: Mon, 21 Jul 1997 00:00:00 +0000
From: guckes@math.fu-berlin.de (Sven Guckes)
References: <5qstqk$6iv$1@sonne.mabi.de>
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: 258078643
X-Newsreader-Info: http://www.math.fu-berlin.de/~guckes/slrn/
Organization: Freie Universitaet Berlin
X-Access: 16 17 19
Reply-To: guckes@math.fu-berlin.de
Newsgroups: news.software.readers