🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mush
Article #1065

Re: Help, please (Mush 7.0.4)!

#1065
From: Tom Haapanen
Date: Fri, 09 Mar 1990 01:06
46 lines
2380 bytes
Barton E. Schaefer <schaefer@ogicse.ogi.edu> writes:
>} I just retrieved Mush 7.0.4 and built it.  It runs fine until I try to
>} go into curses mode, when it terminates with a bus error.  [...]
>} Now, the environment I'm using is IRIX 3.2 (System V 3.2 with lots of BSD
>} flavour thrown in).

>Most likely, your system has its own versions of the BSD directory(3)
>library, which are conflicting with the replacement versions in glob.c.  
>Recompile glob.o from glob.c with -DBSD and relink.  If that isn't
>sufficient, you might also try recompiling everything with both SYSV
>and HPUX defined -- that should cover most such odd hybrid systems.

Thanks!  I found the problem, and it was what you said.  However,
compiling with -DBSD barfs, and so does -DHPUX.  Soooo, I made a
simple mod that fixed it; I thought I'd pass it on.  One question first,
though: now, when I quit from my mailbox, csh tells me every time that
I have new mail (when I don't).  What's causing this?

Anyway, with thanks to Barton, here are the diffs:

<< README.orig
>> README
113a114,117
>     Silicon Graphics Iris workstations should have -DIRIX in the CFLAGS
>     in the makefile.  This prevents the portable directory routines from
>     being compiled in.
> 
---------------------------------------------------------------------------
<< makefile.sys.v.orig
>> makefile.sys.v
26a27,30
> #
> # IRIX 3.2 systems (SGI Iris workstations)
> # CFLAGS= 	-O -DSYSV -DCURSES -DREGCMP -DUSG -DSIGRET=void -DIRIX
> #
---------------------------------------------------------------------------
<< glob.c.orig
>> glob.c
710c710
< #if !defined(BSD) && !defined(HPUX)
---
> #if !defined(BSD) && !defined(HPUX) && !defined(IRIX)

[ \tom haapanen -- university of waterloo -- tom@mims-iris.waterloo.edu    ]
[ "i say what i say, but i say it for myself and myself only" -- me        ]
[ "i don't even know what street canada is on"                -- al capone ]
Technical Details
Message-ID: <1383@watserv1.waterloo.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!tom
References: <1365@watserv1.waterloo.edu> <7821@ogicse.ogi.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!tom
From: tom@mims-iri (Tom Haapanen)
Newsgroups: comp.mail.mush
Subject: Re: Help, please (Mush 7.0.4)!
Message-ID: <1383@watserv1.waterloo.edu>
Date: 9 Mar 90 01:06:23 GMT
References: <1365@watserv1.waterloo.edu> <7821@ogicse.ogi.edu>
Sender: daemon@watserv1.waterloo.edu
Distribution: na
Organization: University of Waterloo, WATMIMS Research Group
Lines: 46