Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2002 07:16:42 +0100
From:      Cliff Sarginson <cls@raggedclown.net>
To:        lewiz <purple@lewiz.info>
Cc:        FreeBSD Questions <FreeBSD-questions@FreeBSD.org>
Subject:   Re: Mutt / NNTP_patch.
Message-ID:  <20021125061642.GB19841@raggedclown.net>
In-Reply-To: <20021124192445.GA28986@lewiz.org>
References:  <20021124192445.GA28986@lewiz.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 24, 2002 at 07:24:45PM +0000, lewiz wrote:
> Hi,
> 
>   Like many of you I use mutt for email.  I recently reinstalled mutt
> and included the NNTP patch allowing me to read news directly through
> mutt.  However, I have the same home directory (and therefore muttrc)
> shared across many machines - not all of which have the nntp patch.
> Because I have nntp switches in my muttrc is there any way I can have
> these ignored and not throw errors if I am running a version of mutt
> without the patch?
> 
Several ways.
One which springs to mind is a shell wrapper, say called runmutt, which
tests the name of the machine and runs mutt as appropriate. Something
like:

#/bin/sh
#
NODE=`uname -n`
if [ $NODE = "muttandnews" ]; then
    mutt -nntpflags
else
    mutt
fi

adjusted as appropriate for your systems.

There are several other ways of course, this is my 7 a.m. in the morning
suggestion :)


-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021125061642.GB19841>