[comp.mail.mush] Problem with tool mode in 7.0.1

tsf@cs.arizona.edu (Ted Frohling @ CCIT-Telcommunications, University of Arizona) (12/20/89)

I just picked up Mush from ucbvax and have it compiled and working on a
SUN with 4.0.3.  In tool mode I am getting an error about display locks
broken.  The scenerio:

Open mush, click on compose
the compose window pops up, click on editor ( I have VISUAL and EDITOR 
set to vi) 
edit the message in vi, exit the editor the ZZ and 
click on send
The message is sent and then I get a console message of
Window display lock broken because process 1151 blocked

process 1151 is mush running from the sunview startup file .sunview

Any ideas of what I'm doing wrong, or is it a bug in Mush :-(.

-- 
Ted Frohling                               Internet: tsf@rvax.ccit.arizona.edu
Network Support                            BITNET:   tsf@arizrvax.BITNET 
CCIT - Telecommunications                  AT&T:     (602) 621-4834
University of Arizona, Tucson, AZ 85721

schaefer@ogicse.ogc.edu (Barton E. Schaefer) (12/20/89)

In article <16266@megaron.cs.arizona.edu> tsf@cs.arizona.edu (Ted Frohling @ CCIT-Telcommunications, University of Arizona) writes:
} 
} Window display lock broken because process 1151 blocked
} 
} process 1151 is mush running from the sunview startup file .sunview
} 
} Any ideas of what I'm doing wrong, or is it a bug in Mush :-(.

It's a bug in mush, but it isn't a particularly interesting one. ;-)  The
problem arises because mush does a fork() before sending mail, so you don't
have to wait for the MTA to complete its possibly long-winded task.  After
the fork, both the parent and the child have a lock on the window display,
but the parent wants to do i/o, so it breaks the child's lock.  The child
is never going to do anything with the display, so that's no problem.

Unfortunately, although I'm able to figure out that's what is going on,
I'm not able to figure out what to do about it. :-(  However, the message
can be safely ignored, so I'm not going to worry about it until after the
holidays (and then all I'm going to do is make *Dan* worry about it :-).
-- 
Bart Schaefer     "Miserable miscreant!  Question MY integrity, will you?"
               "I have to see some *evidence* of it before I can question it."
                                                            -- Calvin & Hobbes
schaefer@cse.ogi.edu (used to be cse.ogc.edu)