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 EST 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 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 I've been using the XRN newsreader under VMS 5.4 & Wollongong TCP/IP 5.1 and it works pretty well. It's quite a slick newsreader, if ya ask me!! I had to make some minor mods to get it working with Wollongong's TCP/IP , but here's the info for how to get hold of XRN, 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 ---------------------------------------------------------------------------- [EXTRACTED from the "README." file from the XRN package]: What are DXRN and MXRN? They're two programs, generated from common source code. Functions are, as much as possible, identical. DXRN uses the XUI (DECwindows) widget set. 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 . . . ------------------------------------------------------------------------------ To support NNTP via VMS & Wollongong TCP/IP, you have to "fake out" the XRN 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: 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; struct { u_short s_w1,s_w2; } S_un_w; typedef unsigned long u_long; /* This needs to be commented out */ /* #include */ Later, in CLIENTLIB.C, you'll see the following lines: . . . #ifndef VMS_DECNET #ifndef VMS #include #include #include #else #include <----------These are the lines you care about. #include <-------you will need to define logical names #include <---for SYS & NETINET in MAKE-DXRN.COM as #define NNTP_PORT_NUMBER 119 <---shown below: #endif /* VMS */ #else /* VMS_DECNET */ #include #include #define NNTPobject "::\"0=NNTP\"" #define index strchr #endif /* VMS */ . . . At the beginning of the MAKE-DXRN.COM file, add the following two lines: $ define/job sys twg$tcp:[netdist.include.sys] $ 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 xrn,buttons,compose,cursor,dialogs,error_hnds,menus,mesg newsrcfile,newsrc_parse,resources,internals,save,server,utils 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 !sys$share:ucx$ipc/library <--------comment out UCX junk!!!!!! twg$tcp:[netdist.lib]libnet/lib,twg$tcp:[netdist.lib]libnetacc/lib twg$tcp:[netdist.lib]twglib/lib $ exit (The last few lines link in the Wollongong libraries) Enjoy, -dave -- Dave Tilley - Record Player "Do you know what happens when you SAS Institute Inc. leave a fish too long in an elevator? Cary, N.C. 27513 You don't? Well, here's a clue..." dave@vms.sas.com (919)-677-8000 x6789 -The JazzButcher