From:	SMTP%"dyson@sunfish.Physics.UIowa.EDU" 30-APR-1993 19:16:50.66
To:	EVERHART
CC:	
Subj:	Re: VMS GIF Viewer?

X-Newsgroups: comp.os.vms
From: dyson@sunfish.physics.uiowa.edu (Richard L. Dyson)
Subject: Re: VMS GIF Viewer?
Message-Id: <C69F6q.4xM@space.physics.uiowa.edu>
Sender: news@space.physics.uiowa.edu
Nntp-Posting-Host: sunfish.physics.uiowa.edu
Reply-To: dyson@sunfish.Physics.UIowa.EDU
Organization: Department of Physics & Astronomy
Date: Thu, 29 Apr 1993 19:23:14 GMT
Lines: 50
To: Info-VAX@kl.sri.com
X-Gateway-Source-Info: USENET

> >        You'll probably get the *previous* version of XV for VMS :)  XV
> >(v3.00) was released yesterday and compiles "out-of-the-box" for
> >VMS/ALPHA VAX C/DEC C (with one tiny bug fix reported in vmsnet.misc and
> >vmsnet.sources.d yesterday).  It currently available in a tar.Z format
> >at
> >
> >                 export.lcs.mit.edu:contrib/xv-3.00.tar.Z
> >
> >        It is much better than v2.21b. and I am sure will get put into a
> >VMS native format soon and on a VMS FTP site somewhere.  Watch for info
> >in vmsnet.sources.d or vmsnet.misc for any announcements.  (Anyone out
> >there doing this already? Hunter G., Bruce T. :)
> 
> Is this the source code which need to be compiled under VMS or is this
> the compiled version?

        This is the original code from John Bradley.  It is in
Unix-standard tar.Z format so you will need decompress and vmstar to
break it out.  I recommend starting with it if you have VAX C because it
is clean and if you want to check for trojan horses, or whatever, you
are free to see the source first.  I know lots of people won't allow
pre-compiled EXEs on to their system, and I kind of believe in it myself :)

        There has already been a follow-up that it does exist on a VMS
site ready to go.  Harry Flowers has it up on his site, narnia.memst.edu.
Please honor the "after hours only" requests!  Be warned though, it is
BIG!!  The save-set I made is about 12 k VAX blocks COMPRESSED!  The EXE file
is 1307 VAX blocks by itself!  Not for the limited disk space user...

        Because it has been asked of me already, I will also post the
bug fix that will be needed right away.  In XV.C, about line 3881. The
only occurence of "gethostname", it is not supported by VAX C, so it
should be like this:

#ifndef VMS
        gethostname(hname, 128);
#endif

        The two lines starting with the hash mark are what you should
insert around the "gethostname" function call, or just loose it
altogether. :)

Enjoy!
rick
-- 
Richard L. Dyson               INTERNET:  dyson@sunfish.Physics.UIowa.EDU
Graduate Research Assistant    INTERNET:             rick-dyson@UIowa.EDU
Department of Physics & Astronomy  NSI/SPAN: IOWASP::DYSON or 7231::DYSON
The University of Iowa                         Phone (H): (319) 338--6117
Iowa City, IA 52242--1479                      Phone (O): (319) 335--1879

