meulenbr@cst.philips.nl (Frans Meulenbroeks) (08/31/90)
Hi, When installing xmail I noticed the following problems. 1) xmail does not understand/follow source commands in your .mailrc 2) xmail does not accept single quotes as a delimiter in .mailrc set commands. E.g. Mail accepts set mail='{MAIL}& ' while xmail doesn't. this is in enirons.c module GetMailrc around line 398. 3) handler.c contains in module index_handler around line 187 the following code: for (c = s + 1; *c && !isdigit(*c); c++); sscanf(c, "%d", &j); /* look from end backwards */ for (; j > k; j--) for (s--; s > IndexBuf && *s != '\n'; s--); s++; Now if the for loop terminates because *c (that is c == '\0') the following sscanf will return nonsense. My sun then dumps core in the for loop as soon as s becomes 0xffffffff, because happened to be a huge value. You can get here if the systems idea of prompt and yours differ (for instance due to 1) or 2). 4) I had to modify one of the parts of patch2 (I believe it was part d). There were three lines missing in a cdiff. Just copy the original ones from a few lines above. patch will happily tell you the exact location where the problem is. Otherwise xmail is a nice program! Thanks, -- Frans Meulenbroeks (meulenbr@cst.philips.nl) Centre for Software Technology ( or try: ...!mcsun!phigate!prle!cst!meulenbr)