Xref: utzoo comp.mail.elm:465 comp.unix.xenix:1934 Path: utzoo!mnetor!uunet!husc6!amcad!billb From: billb@amcad.UUCP (Bill Burton) Newsgroups: comp.mail.elm,comp.unix.xenix Subject: Re: Elm and XENIX Message-ID: <150@amcad.UUCP> Date: 11 Apr 88 22:11:08 GMT References: <10861@codas.att.com> Reply-To: billb@amcad.UUCP (Bill Burton) Organization: American Academy of Arts and Sciences, Cambridge, Mass. Lines: 58 In article <10861@codas.att.com> writes: >I am running XENIX 386 and would like to use the Elm >mail system. I have the latest source code for Elm but >cannot get it to run on my system. What can I do to >make it work with XENIX 386. I have Rel 2.2.2 with >latest 386 development system. > > >Thank you > >Jim Voytek >codas!pbsfwb!jim I have been recently attempting to get Elm 1.7 working on SCO Xenix 286 and it appears that I have succeded for the most part. The one problem is that occaisionally I get a "Segment Violation" and sometimes a core dump. This happens if I use the "builtin" pager, or when I try and save the configuration options. Have compiled with the following flags (if I remember correctly): CC: -O -Ml2 -Mt24 -LARGE LD: -Ml2 -F 4000 Would appreciate any input on how to solve this segmentation problem. I am quite sure that that all the modifications made also apply to Xenix 386 with the exception of the compiling and linking flags. Here is a brief list of some of the changes I made: o hdrs/sysdefs.h: ifdefs for locations of mail directory, rmail and vi using M_XENIX define o modified Makefile's for appropriate compiling flags above o Chmod 777 /usr/spool/mail o Chmod 600 /usr/spool/mail/* o src/encode.c - added a dummy crypt() function so ld would't complain. Encryption should be ifdef-able. Originally I tried to modify Configure.sh to set up everything for Xenix and concluded that to maintain compatability with everything else would require a bit of work. The time might be better spent getting Larry Wall's Metaconfig and writing a new Configure script from scratch. Would appreciate any comments, tips, patches, etc. I'm sure someone else out in netland already has this running on SCO Xenix 286/386. Elm is a great program (thanks, Dave!) and I would like to contribute some time and energy to improve it particularly in the ease of installation. -Bill ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Name: William D. Burton US Mail: American Academy of Arts and Sciences 136 Irving St., Cambridge, MA 02138-1996 Audible: 1-617-576-5023 UUCP: ...!husc6!amcad!billb ARPANET: billb%amcad.uucp@husc6.harvard.edu ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~