Very nice little touch. I did change it to;
# I use Vim as the editor when composing messages. The '+' allows you
# pass a few options to vim, like to skip beyond the headers & don't
# indent or highlight searches (seeing as we start off with a search for a
# space..)
set editor="if [ -x /usr/remote/bin/sigkiller ] ; then /usr/remote/bin/sigkiller %s; fi; vim +'set tw=74' +'/^$' +'set nosi' +'set nohlsearch' %s"
to suit myself...hey..how hard would it be to have a "config file
archive" on some ilug machine somewhere, that people could upload & view
config files?
Kate
----- Forwarded message from Sven Lankes <sven at killefiz.de> -----
From: Sven Lankes <sven at killefiz.de>
To: lbw at eartha.cyberware.co.uk
Delivered-To: john at dogbert.internal.antefacto.com
Subject: Re: Message Editing and Quoting Guide (was: Re: [lbw] Voting recap)
Date: Sun, 20 Jan 2002 21:30:42 +0100
X-Spam-Status: No, hits=0 required=5 tests=
Mail-Followup-To: lbw at eartha.cyberware.co.uk
Reply-To: lbw at eartha.cyberware.co.uk
On Sun, Jan 20, 2002 at 04:43:58PM +0000, David Cantrell wrote:
>> I suggest you refer the authors of majordomo to it, this sort of
>> unnecessary quoting could easily be removed by it.
> Patches welcome :-)
Here is what my .muttrc has:
set editor="/usr/local/bin/sigkiller %s; vim -f +9 -c 'set tw=72 et' %s"
sigkiller:
#!/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
--
Fools ignore complexity. Pragmatists suffer it. Some can avoid it.
Geniuses remove it.
Perlis's Programming Proverb #58, SIGPLAN Notices, Sept. 1982
--
To unsubscribe send email to majordomo at lists.cyberware.co.uk
containing the single line "unsubscribe lbw". For more information
and help use the line "info lbw". Use the list lbw-allowpost to register
additional posting addresses for this list.
----- End forwarded message -----
--
_______________________________________
John Looney Chief Scientist
a n t e f a c t o t: +353 1 8586004
www.antefacto.com f: +353 1 8586014
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!