[Debian]:Re: mutt/slrn: wie schneide ich bei Antworten die signatures ab?
Tobias Zimpel <tzimpel@startrek-web.de> wrote:
> Hi,
> wie bringe ich mutt dazu, signatures bei Antworten automatisch
> abzuschbeiden?
How do I tell Mutt not to quote the signature?
Ich zitiere mal die FAQ (http://www.fefe.de/muttfaq/faq.html):
There once was an unofficial patch for Mutt which is now
maintained by Stefan 'Sec' Zehl and can be retrieved from
http://www.42.org/~sec/mutt/. The suggested method is to tell
your editor to do it. For example, uses of the VIM editor should
put this line in their .vimrc:
au BufRead /tmp/mutt* normal :g/^> -- $/,/^$/-1d^M/^$^M^L
Another solution was proposed by Markus Muss is this shell script:
#!/bin/sh
#
# sigkiller: delete last foreign signatur when quoting mails
# (foreign dashes = "> -- " or "> --"
#
# Markus Muss
#
awk '{if ($0 ~ /^> -- ?$/) {
while ($0 !~ /^-- $/) {
getline
}
print " " > OUTFILE
}
print $0 > OUTFILE
}' OUTFILE=$1.out $1
mv $1.out $1
in conjunction with
set editor="sigkiller %s; joe -nobackups +\`awk '/^$/ {print i+2; exit} {i++}' %s\` %s -wordwrap -rmargin 70
> Das Lesen der entsprechenden Dokus und beispiel-rc-files hat mich da
> leider nicht weitergebracht. Oder ich hab's übersehen...
Hast Du :-)
Bei Verwendung von (X)Emacs in Verbindung mit post.el kannst Du das
ganze übrigens mit der Variable post-kill-quoted-sig erreichen (ist
sogar per Default aktiviert).
Tschoeeee
Roland
--
* roland@spinnaker.de * http://www.spinnaker.de/ *
PGP: 1024/DD08DD6D 2D E7 CC DE D5 8D 78 BE 3C A0 A4 F1 4B 09 CE AF
------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie
bitte eine E-Mail an majordomo@jfl.de die im Body
"unsubscribe debian-user-de <deine emailadresse>"
enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@jfl.de
------------------------------------------------
Anzahl der eingetragenen Mitglieder: 731
Reply to: