joachim@jrix.radig.de (Joachim Riedel) (04/18/91)
Hi, Someone told me that he has problems to port WMAIL 3.63 to COherent. WMAIL 3.63 is a mailx-clone, very good and I used it for several weeks for mailing. In the mean time I'm back again on my 386/ix with ELM and sendmail but everyone who works with Coherent should have WMAIL. I was told it is available by FTP from plains.nodak.edu. The most difficult problem is to unshar the sources but that should be solvable. You need: the unshared files, about 20 minutes time (depends on how fast you can use your editor) File wmail.h: ------------- add the following line: #define off_t long delete all stuff between: #ifdef MSDOS ... ... #endif MSDOS write a macro called _PROTOTYPE #define _PROTOTYPE( function, params ) function () (I never tried that but it should work) or be too lazy to think and edit the function prototyping as I did: Example: (I was told that this is the most difficult problem) -------- old code: _PROTOTYPE ( void clr_exit, (int num) ); new code: void clr_exit (); ----------------------------------------------------------------------- Makefile: --------- use the Makefile supplied for standard unix. add -lndir ----------------------------------------------------------------------- ???.c: ------ delete all #include-lines with unknown Headerfiles (unistd.h,stdlib.h) add/delete sys/ in these lines where needed. ------------------------------------------------------------------------ wmmain.c: --------- replace function getcwd with getwd ------------------------------------------------------------------------ make make install ------------------------------------------------------------------------ I hope that I didn't forget something Nevertheless I will try to get WMAIL 3.63/Coherent ftped to piggy, I think in about 10 days to two weeks it should be there. Joachim +---------------------------------------+-------+-------------------+-------+ | Joachim Riedel | @ @ | Don't worry, | @ @ | | Geschwister-Scholl-Strasse 48 | \_/ | keep smiling | \_/ | | D-6050 Offenbach am Main +-------+-------------------+-------+ | Tel. +49 69 85 62 25 | joachim@jrix.radig.de | +---------------------------------------+-----------------------------------+
root@trystro.uucp (Rick Nickle) (04/19/91)
>The most difficult problem is to unshar the sources but that should be >solvable. A good solution to unshar ANY sources is to grab the GNU cshar package I posted to Piggy a long time ago. Included is a very good 'unshar' command that interprets shar files without resorting to the shell, making the old Coherent-shell redirection bug impotent. 'Course, this isn't a problem as much now that the bug is fixed, but it's still a damn good package anyway. If you can't get it from piggy, get it from any GNU distribution. I also sent cshar to mwcbbs a long while back, but alas, they never posted it. Rick -- Richard Nickle The Trystro System rick@trystro.UUCP (617) 625-7155 2400bps Somerville, Massachusetts. "The sun ain't yellow, it's Chicken."--Bob Dylan