Maybe this seems a little obvious, but you could invoke mutt via a
wrapper shell script.  It would be very, very simple.  

* if exists $lockfile
  echo "warning"; exit;
* else: 
  touch $lockfile; /usr/bin/real-mutt; rm $lockfile
 
I dont think this functionality exists internally, maybe I'm wrong.

/db

On Mon, Nov 26, 2001 at 11:20:33AM -0700, Mike A. Oligny wrote:
> Is there any way to have Mutt warn me if I am opening a second
> session?  I find sometimes flags don't get updated because I've
> had two or three copies of the client running unintentionally...
> (I know--don't do it then, stupid!) 
> 
> -Mike


Reply via email to