Article 61812 of comp.os.vms: Path: jac.zko.dec.com!crl.dec.com!pa.dec.com!decwrl!tribune.usask.ca!canopus.cc.umanitoba.ca!newsflash.concordia.ca!nstn.ns.ca!pmax!bg From: bg@pmax (Ben Armstrong) Newsgroups: comp.os.vms Subject: Re: Tin for UCX, VAX and Alpha/AXP Date: 26 May 1995 17:11:03 -0300 Organization: Nova Scotia Technology Network Lines: 202 Sender: news@nstn.ns.ca Message-ID: <3q5ckn$epq@Owl.nstn.ca> References: <3q4ppu$cj2@Owl.nstn.ca> NNTP-Posting-Host: owl.nstn.ns.ca X-Newsreader: TIN [version 1.2 PL2] Ben Armstrong (bg@pmax) wrote: : It's been quiet lately regarding Tin development for UCX, both VAX and : Alpha/AXP platforms. : - Also, of course, I would like to get a working version on one or the : other platforms (UCX/VAX or UCX/AXP), so if anyone can shed any light : on the troubles I've had or make recommendations about which version : I should be using & where it can be obtained, I'd like to hear from : you. One contributer, Jerry Leslie (thanks, Jerry) sent me info which pointed me towards a server in Australia (tango.cchs.su.edu.au in directory [ftp.vms.tin]) where I found the following version, with which I have trouble, as I shall mention shortly. Here is the readme: -- start of readme.vms -- This is the TIN newsreader, by Iain Lea The version you have in your hands is 1.22v, which is *not* the latest/greatest version. This is a VMS port of 1.2pl2, which was initially done by Tod McQuillin for OpenVMS using GCC. (mcquill@next.duq.edu) It was then grabbed from hobbes.duq.edu and mildly worked over by Luke Brennan (L.Brennan@cchs.su.edu.au) for OpenVMS using VAXC. (Tod had done 99% of the hard work :-)) Tod Mcquillin seems to have disappeared from duq.edu, so I suppose that means he won't be doing anything new. Paul Nankervis (ccpn@lure.latrobe.edu.au) at Latrobe had a spare Alpha 7000/740 with 1Gb of memory sitting around gathering dust, so Luke used that to make TIN a bit more aware of DECC and Alpha's. By using DECC on the Alpha and GCC on the VAX, TIN now does things in a portable VMS way, without sending any of the compilers into a spin. Even found some bugs :-) Note: Yes, I used VAXC and/or GCC on my MicroVAX. The GCC compiler may _not_ work for you, as mine has lots of modified include files. Let me know if you find some GCC gotchas that mine doesn't have. Note: No, I don't have an Alpha. Paul does. He kindly let me use it for a few nights :-) BUILDing the thing. ------------------ unpack the ZIP file and @BUILD... pretty complex, eh? OTHER tcp/ip stacks. ------------------- no idea - I run MULTINET! If you do changes to make it work for you - let somebody know! L.Brennan@cchs.su.edu.au -- end of readme.vms -- Well, it *didn't* work out-of-the-box for either UCX or SOCKETSHR, so I fiddled it a bit (note that one SOCKETSHR change in BUILD.COM has a local pathname for our site in it that *will not* work anywhere else). Here are my diffs: -- begin of diffs -- $1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]BUILD_COM.DIF;1 ************ File $1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]BUILD_COM.ORIG;1 10 $ news := "news.cchs.su.edu.au" 11 $! ****** File $1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]BUILD.COM;1 10 $ news := "owl.nstn.ca" 11 $! ************ ************ File $1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]BUILD_COM.ORIG;1 23 $ SYS_socktshr_tcp := I_dont_know 24 $ SYS_tcpware := I_dont_know ****** File $1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]BUILD.COM;1 23 $ SYS_socketshr_tcp := DYM$DISK:[DYMAX.MISC.SOCKETSHR],SYS$LIBRARY 24 $ SYS_tcpware := I_dont_know ************ ************ File $1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]BUILD_COM.ORIG;1 29 $ INCL_socktshr_tcp := I_dont_know 30 $ INCL_tcpware := I_dont_know ****** File $1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]BUILD.COM;1 29 $ INCL_socketshr_tcp := DYM$DISK:[DYMAX.MISC.SOCKETSHR],SYS$LIBRARY 30 $ INCL_tcpware := I_dont_know ************ ************ File $1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]BUILD_COM.ORIG;1 124 /Define=('transport''extra',SLOW_SCREEN_UPDATE,NNTP_DEFAULT_SERVER="""""""""''news'""""""""") 125 $ v1='f$verify(0)' ****** File $1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]BUILD.COM;1 124 /Define=('transport''extra',SLOW_SCREEN_UPDATE, - 125 NNTP_DEFAULT_SERVER="""""""""''news'""""""""") 126 $ v1='f$verify(0)' ************ Number of difference sections found: 4 Number of difference records found: 5 DIFFERENCES /IGNORE=()/MERGED=1/OUTPUT=$1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]BUILD.DIF;1- $1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]BUILD_COM.ORIG;1- $1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]BUILD.COM;1 $1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]CONFIG_H.DIF;1 ************ File $1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]CONFIG_H.ORIG;1 73 #if !defined(M_OS2) 74 # define HAVE_SYS_PARAM_H ****** File $1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]CONFIG.H;1 73 #if !defined(M_OS2) && !defined(VMS) 74 # define HAVE_SYS_PARAM_H ************ Number of difference sections found: 1 Number of difference records found: 1 DIFFERENCES /IGNORE=()/MERGED=1/OUTPUT=$1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]CONFIG.DIF;1- $1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]CONFIG_H.ORIG;1- $1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]CONFIG.H;1 $1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]INEWS_C.DIF;1 ************ File $1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]INEWS_C.ORIG;1 226 # if defined(M_AMIGA) || defined(M_OS2) 227 my_strncpy (host, get_val ("NodeName", "PROBLEM_WITH_NODE_NAME"), sizeof (host)); ****** File $1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]INEWS.C;2 226 # if defined(M_AMIGA) || defined(M_OS2) || defined(VMS) 227 my_strncpy (host, get_val ("NodeName", "PROBLEM_WITH_NODE_NAME"), sizeof (host)); ************ Number of difference sections found: 1 Number of difference records found: 1 DIFFERENCES /IGNORE=()/MERGED=1/OUTPUT=$1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]INEWS.DIF;3- $1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]INEWS_C.ORIG;1- $1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]INEWS.C;2 $1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]NNTPLIB_C.DIF;1 ************ File $1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]NNTPLIB_C.ORIG;1 64 # include 65 # endif ****** File $1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]NNTPLIB.C;2 64 # if defined(UCX) || defined(SOCKETSHR_TCP) 65 # include 66 # else 67 # include 68 # endif 69 # endif ************ Number of difference sections found: 1 Number of difference records found: 5 DIFFERENCES /IGNORE=()/MERGED=1/OUTPUT=$1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]NNTPLIB_C.DIF;1- $1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]NNTPLIB_C.ORIG;1- $1$DKA200:[DYMAX.MISC.TIN.SRC.TIN-1_22V]NNTPLIB.C;2 -- end of diffs -- Now, when I try to run Tin I get the following: tin 1.2 PL2v [VAX/VMS] (c) Copyright 1991-93 Iain Lea & Tod McQuillin. Connecting to owl.nstn.ca... nntp/tcp: Unknown service. Failed to connect to NNTP server owl.nstn.ca. Exiting... This happens whether I try compiling it under UCX or SOCKETSHR. I'm puzzled. Nearly the same code (in nntplib.c) which does an getservbyname() works fine in the standard Lynx distribution, but not here. This leads me to believe I still have a configuration problem somewhere. But where? Help! Thanks, Ben. -- Ben Armstrong, Medianet Development Group, bus: (902)422-1973 Dymaxion Research Ltd., 5515 Cogswell St., fax: (902)421-1267 Halifax, Nova Scotia, Canada B3J 1R2 Internet: BArmstrong@dymaxion.ns.ca