From:	SMTP%"VMSGopher-L@trln.lib.unc.edu" 18-APR-1994 12:42:02.14
To:	EVERHART
CC:	
Subj:	Re: Gopher on AlphaVMS V1.5 - UCX V3.0

X-Listname: Gopher for VMS implementation and testing
    <VMSGopher-L@trln.lib.unc.edu>
Warnings-To: <>
Errors-To: postmaster@trln.lib.unc.edu
Sender: postmaster@trln.lib.unc.edu
Date: 18 Apr 1994 10:48:50 -0500 (EST)
From: Foteos Macrides <MACRIDES@SCI.WFEB.EDU>
Reply-To: VMSGopher-L@trln.lib.unc.edu
Subject: Re: Gopher on AlphaVMS V1.5 - UCX V3.0
To: VMSGopher-L@trln.lib.unc.edu
Message-Id: <01HBBG3ZY5GI005ET0@SCI.WFEB.EDU>
X-Vms-To: IN%"VMSGopher-L@trln.lib.unc.edu"
X-Vms-Cc: MACRIDES
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-Transfer-Encoding: 7BIT

jjones@helpmt.sio.com (jjjones) wrote:
>Got Gopher2_012 to build successfully on AlphaVMS V1.5 with UCX V3.0.
>
>Had to modify fileio.h as follows:
>
>#if defined(VMS)
>#   if defined(WOLLONGONG) || defined(CMUIP) || defined(NETLIB)
>#       define socket_write netwrite
>#       define socket_read  netread
>#       define socket_close netclose
>#       define FIO_NOMULTIEOF
>#   elif defined(UCX)				/* new lines.....*/
>#       define socket_write write
>#       define socket_read  read
>#       define socket_close close		/* last new line */
>#   endif
>    /*  Note that Multinet already has socket_*  */
>#else
>    /* Unix systems */
>#   define socket_write write
>#   define socket_read  read
>#   define socket_close close
>#endif
>
>fyi:

	Almost, but not quite.  You need to define FIO_NOMULTIEOF for UCX as
well, and not for Wollongong (to handle EPIPE return statuses properly).

				Fote

=========================================================================
 Foteos Macrides           Worcester Foundation for Experimental Biology
 MACRIDES@SCI.WFEB.EDU     222 Maple Avenue, Shrewsbury, MA 01545
=========================================================================