[comp.mail.mh] Minor change to XMH

john@loverso.leom.ma.us (John Robert LoVerso) (04/26/91)

I use MMDF's .maildelivery mechanism (identical to "slocal") to split my
mail into several maildrops.  I then wanted to be able to inc these
different drops into different folders while running xmh, but it didn't
work.  From perusing the sources, I discovered an undocumented feature
in the R4 xmh for allowing inc's from other files.  In a "~/.xmhcheck"
file, add lines of the form "foldername filename" for each inc'able folder.
Then, to get xmh to read this, turn on the CheckNewMail resource.

Well, the later didn't sit well with me, because I use POP and CheckNewMail
has been changed (in my xmh) to call msgchk to ask the POP server, which is
expensive.  I just commented out the conditional on CheckNewMail.

In toc.c in the function TocInit(), change the last line of the
function from:

	if (app_resources.new_mail_check) LoadCheckFiles();

to:

	LoadCheckFiles();

I did this a while ago.  If I were doing it now, I might have just used
Ken Key's changes with an XmhUserComm() to call the correct "inc" command.

Who at MIT is maintaining xmh, btw?

John

gildea@EXPO.LCS.MIT.EDU (Stephen Gildea) (04/26/91)

    Who at MIT is maintaining xmh, btw?
    
xmh is maintained by the MIT X Consortium.  The latest version
is available from MIT as part of X11 Release 4.

 < Stephen
   MIT X Consortium