Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!mit-eddie!mit-amt!garp!argv From: argv@garp.mit.edu (Dan Heller) Newsgroups: comp.sources.bugs Subject: Re: Mail Users Shell (MUSH) Message-ID: <1588@mit-amt.MEDIA.MIT.EDU> Date: Mon, 28-Sep-87 20:50:13 EDT Article-I.D.: mit-amt.1588 Posted: Mon Sep 28 20:50:13 1987 Date-Received: Wed, 30-Sep-87 00:43:56 EDT References: <26@mtunk.ATT.COM> <179@jc3b21.UUCP> <4756@ncoast.UUCP> <4759@ncoast.UUCP> Sender: usenet@mit-amt.MEDIA.MIT.EDU Reply-To: argv@garp.UUCP (Dan Heller) Distribution: na Lines: 38 Keywords: MUSH mail users shell In article <4759@ncoast.UUCP> johng@ncoast.UUCP (John Gilbertson) writes: >Is anyone having problems compiling MUSH under SYSV? > >I believe that all of the shar's are correct and don't know if it is a >problem with my libraries or the source. > >Using the included makefile.sys.v causes an error > >mush.h line 243 syntax error*** > >No place could I find the definition for ulong_t that earlier u_long gets >defined to. I took out ulong_t and replaced it with long but additional >errors crop up with _tty and sg_flags. From the posted version of mush's mush.h, #ifdef SYSV #define L_SET 0 #define F_OK 000 #define R_OK 004 #define W_OK 002 #define E_OK 001 #define u_long ulong_t #define vfork fork #define SIGCHLD SIGCLD #endif /* SYSV */ It appears that if you have SYSV defined somewhere (makefile should suffice), u_long should be defined to ulong_t. Perhaps there is a system dependent file that is undefining SYSV(?) As for the problems with _tty and sg_flags, this is curses/sgttyb dependent. A couple of people have sent some diffs that provide for the necessary macros/routines to port these routines (which include the ECHO and CRMODE stuff) to real system v stuff (bell labs sys-v, I presume). Anyway, the routines/macros provided use the termio library, so at least it sounds like we're on the right track :-) These and other bugs have been or are going to be fixed and diffs will be posted as soon as possible.