Article View: news.software.readers
Article #65026Re: slrn calling mutt
From: Thomas Schultz
Date: Tue, 29 Aug 2000 00:00
Date: Tue, 29 Aug 2000 00:00
52 lines
2578 bytes
2578 bytes
On 29 August 2000 at 16:13 GMT, Bek Oberin <bekj@netizen.com.au> wrote:
> Thomas Schultz (tststs@gmx.de) wrote...
>> #v+
>> source .muttrc
>> unset signature
>> #v-
>> and call mutt via "mutt -H '%s' -F '~/.muttrc.slrn'". If you don't
> For some reason I still get both signatures when I use this methed.
Could it be that you set your signature in mutt dynamically via hooks?
>> #v+
>> define my_reply()
>> {
>> variable sig = get_variable_value("signature");
>> set_string_variable("signature", "");
>> call("reply");
>> set_string_variable("signature", sig);
>> }
>> #v-
> For this one I get the "do yo uwant to reply" question, then the
> screen redraws, then I get "do you want to send?" with no chance for
> editing in betwene :(
That's strange. The macro does nothing but unsetting your signature
and restoring it after your reply. If calling mutt from slrn usually
works for you, I don't see why it should not when you use the macro.
BTW, here is a trivial patch that will make slrn not append sigdashes
if the signature file is set to "":
diff -cr slrn-0.9.6.2.orig/src/misc.c slrn-0.9.6.2/src/misc.c
*** slrn-0.9.6.2.orig/src/misc.c Thu Dec 23 13:02:50 1999
--- slrn-0.9.6.2/src/misc.c Tue Aug 29 14:48:13 2000
***************
*** 710,715 ****
--- 710,717 ----
FILE *slrn_open_home_file (char *name, char *mode, char *file, int create_flag) /*{{{*/
{
+ if ((name == NULL) || (*name == '\0'))
+ return NULL;
slrn_make_home_filename (name, file);
#ifdef VMS
--
Thomas Schultz <tststs@gmx.de>
*** Latest news from http://slrn.sourceforge.net/
-> [2000-08-16] Macros page online
-> [2000-08-05] www.slrn.org points to our new site
Technical Details
Message-ID:
<slrn8qo8bj.dct.tststs@starflower.tststs.ddns.org>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-mailReferences:
<967477382.945203@Virginia.BMTS.Com> <slrn8ql8a9.o2.philb@wolf14.nols.com> <slrn8qlidi.27e.tststs@starflower.tststs.ddns.org> <slrn8qno54.a90.bekj@mycroft.tertius.net.au>Show Full Headers
Complete Article Headers
Message-ID: <slrn8qo8bj.dct.tststs@starflower.tststs.ddns.org> Subject: Re: slrn calling mutt Date: Tue, 29 Aug 2000 00:00:00 +0000 From: tststs@gmx.de (Thomas Schultz) References: <967477382.945203@Virginia.BMTS.Com> <slrn8ql8a9.o2.philb@wolf14.nols.com> <slrn8qlidi.27e.tststs@starflower.tststs.ddns.org> <slrn8qno54.a90.bekj@mycroft.tertius.net.au> 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: 664073293 X-Server-Date: 29 Aug 2000 21:41:21 GMT X-Complaints-To: abuse@cityweb.de Organization: Pinguin online. User-Agent: slrn/0.9.6.2+ (Linux) NNTP-Posting-Date: 29 Aug 2000 21:50:06 GMT Newsgroups: news.software.readers