Subject: Re: MH 6.8.3 "-watch" switch not working under NetBSD 1.0/-current?
To: Michael L. VanLoon -- HeadCandy.com <michaelv@headcandy.com>
From: Wayne Berke <berke@panix.com>
List: netbsd-bugs
Date: 04/08/1995 13:33:00
In message <199504060318.UAA05391@MindBender.HeadCandy.com>, "Michael L. VanLoo
n -- HeadCandy.com" writes:
> 
> >I'm using MH 6.8.3 on both NetBSD/SPARC 1.0 and SunOS 4.1.4; on the former
> >I used cgd's "MH" config file that he put out a while back.
> >The "-watch" switch is supposed to be somewhat like the "-v" switch to "Mail
> ";
> >i.e. let you watch the MH "post" <-> "sendmail" transaction.  This is workin
> g
> >fine for me under SunOS 4.1.4, but I get nothing under NetBSD:
> 
> Watch has always worked fine for me on my NetBSD box.  Here's the MH
> config file I used to build my copy of MH:
> 
> [...]
>

I had this same problem, so I took a look at the code.  I believe the
bad behavior only occurs when the option SMTP is specified but SUN40 isn't.
The following patch fixes it at least on my system:

*** 1.1	1995/04/08 16:02:51
--- mh/mts/sendmail/smail.c	1995/04/08 16:04:32
***************
*** 290,296 ****
                      sd2;
  
      if (watch)
! #if	!defined(SUN40) || defined(MMDFII)
  	verbose = TRUE;
  #else	/* to show the transaction, -watch must imply -snoop */
  	debug = verbose = TRUE;
--- 290,296 ----
                      sd2;
  
      if (watch)
! #if	defined(MMDFII)
  	verbose = TRUE;
  #else	/* to show the transaction, -watch must imply -snoop */
  	debug = verbose = TRUE;