[ From:	CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX"  6-NOV-1990 19:36:41.05  To:	MRGATE::"ARISIA::EVERHART" CC:	% Subj:	Re: Remote newsreader under VMS   * Received:  by crdgw1.ge.com (5.57/GE 1.76)( 	 id AA21345; Tue, 6 Nov 90 19:26:54 ESTY Received: From UCBVAX.BERKELEY.EDU by CRVAX.SRI.COM with TCP; Tue,  6 NOV 90 16:03:07 PDT , Received: by ucbvax.Berkeley.EDU (5.63/1.42)) 	id AA07903; Tue, 6 Nov 90 15:57:48 -0800 9 Received: from USENET by ucbvax.Berkeley.EDU with netnews . 	for info-vax@kl.sri.com (info-vax@kl.sri.com); 	(contact usenet@ucbvax.Berkeley.EDU if you have questions)  Date: 6 Nov 90 17:09:56 GMT ; From: rti!mozart!VMS.SAS.COM!snodwt@mcnc.org  (Dave Tilley)   Organization: SAS Institute Inc.( Subject: Re: Remote newsreader under VMS) Message-Id: <1990Nov6.121048@VMS.SAS.COM> % References: <31533@netnews.upenn.edu> # Sender: info-vax-request@kl.sri.com  To: info-vax@kl.sri.com     H I've been using the XRN newsreader under VMS 5.4 & Wollongong TCP/IP 5.1G and it works pretty well. It's quite a slick newsreader, if ya ask me!! 5 I had to make some minor mods to get it working with  E Wollongong's TCP/IP , but here's the info for how to get hold of XRN, A as well as a list of changes I had to make to get it working with  VMS & Wollongong TCP/IP.     							-Dave Tilley  							 SAS Institute, Inc.  							 dave@vms.sas.com  L ----------------------------------------------------------------------------9 [EXTRACTED from the "README." file from the XRN package]:      What are DXRN and MXRN?   J They're two programs, generated from common source code. Functions are, asG much as possible, identical. DXRN uses the XUI (DECwindows) widget set. D MXRN uses Motif. They're ports of XRN V6.11 to XUI and MOTIF (XRN as% distributed uses the Athena widgets).    How to get M/DXRN:	 For Unix: # % ftp gatekeeper.dec.com (16.1.0.2)  user: anonymous  password: guest  ftp> cd pub/DEC  ftp> binary  ftp> get dxrn.tar.Z 	 ftp> quit  % uncompress dxrn.tar.Z  % tar xf dxrn.tar  For VMS:# $ ftp gatekeeper.dec.com (16.1.0.2)  user: anonymous  password: guest  ftp> cd pub/DEC  ftp> get dxrn.share 	 ftp> quit 
 $ @dxrn.share  .  .  . N ------------------------------------------------------------------------------      K To support NNTP via VMS & Wollongong TCP/IP, you have to "fake out" the XRN K code to make it think it's using DEC's UCX, and add a few things to support < the Wollongong TCP/IP product. I made the following changes:     9 In the beginning of CLIENTLIB.C, add the following lines:     
 /* My adds */  #define VMS  #define VMS_UCX  #define index strchr typedef unsigned short u_short; 5                 struct { u_short s_w1,s_w2; } S_un_w;  typedef unsigned long u_long;   $ /* This needs to be commented out */ /* #include <netinet/in_systm.h>  */      6 Later, in CLIENTLIB.C, you'll see the following lines:   .  .  .  #ifndef VMS_DECNET #ifndef VMS  #include <sys/socket.h>  #include <netinet/in.h>  #include <netdb.h> #else O #include <sys/socket.h>          <----------These are the lines you care about. G #include <netinet/in.h>		 <-------you will need to define logical names D #include <sys/netdb.h>		 <---for SYS & NETINET in MAKE-DXRN.COM  as . #define NNTP_PORT_NUMBER 119	 <---shown below: #endif /* VMS */ #else  /* VMS_DECNET */    #include <unixio.h>  #include <file.h> ! #define NNTPobject "::\"0=NNTP\""  #define index strchr #endif /* VMS */ .  .  .   H At the beginning of the MAKE-DXRN.COM file, add the following two lines:  / $  define/job sys twg$tcp:[netdist.include.sys] 7 $  define/job netinet twg$tcp:[netdist.include.netinet]    .  .  .     @ The LINK step in the MAKE-DXRN.COM file needs to look like this:   $ link/exe=dxrn sys$input/opt 8 xrn,buttons,compose,cursor,dialogs,error_hnds,menus,mesg= newsrcfile,newsrc_parse,resources,internals,save,server,utils 2 xmisc,xthelper,avl,list,clientlib,t6,t7,pane,slist sys$share:decw$dwtlibshr/share sys$share:decw$xlibshr/share sys$share:vaxcrtl/share  ! + ! Remove this or put in your TCP/IP library O !sys$share:ucx$ipc/library                  <--------comment out UCX junk!!!!!! B twg$tcp:[netdist.lib]libnet/lib,twg$tcp:[netdist.lib]libnetacc/lib  twg$tcp:[netdist.lib]twglib/lib  $ exit  5 (The last few lines link in the Wollongong libraries)       
 							Enjoy, 
 								-dave    				 --F Dave Tilley - Record Player         "Do you know what happens when youO SAS Institute Inc.                        leave a fish too long in an elevator? M Cary, N.C.  27513                         You don't?  Well, here's a clue..." K dave@vms.sas.com   (919)-677-8000 x6789                    -The JazzButcher   