Received: by whizzer.wpd.sgi.com (921026.SGI.NOSTRIP/911001.SGI)
	 id AA01604; Tue, 24 Aug 93 17:51:48 GMT
Received: from sgi.sgi.com by whizzer.wpd.sgi.com via SMTP (921026.SGI.NOSTRIP/911001.SGI)
	for /usr/people/sam/majordomo/wrapper resend -l tiff -h sgi.sgi.com -f tiff-owner -s -m "-oi -odq -om" tiff-list id AA01597; Tue, 24 Aug 93 10:51:45 -0700
Received: from relay.sgi.com by sgi.sgi.com via SMTP (920330.SGI/910110.SGI)
	for tiff-relay@whizzer.wpd.sgi.com id AA06367; Tue, 24 Aug 93 10:51:26 -0700
Received: from oxford.chez.sgi.com by relay.sgi.com via SMTP (920330.SGI/920502.SGI)
	for @sgi.sgi.com:krs@kampsax.dk id AA18113; Tue, 24 Aug 93 10:51:21 -0700
Received: from localhost.chez.sgi.com by oxford.chez.sgi.com via SMTP (920330.SGI/921111.SGI.AUTO)
	for tiff@sgi.sgi.com id AA02880; Tue, 24 Aug 93 10:59:25 -0700
Message-Id: <9308241759.AA02880@oxford.chez.sgi.com>
To: "Karsten Spang" <krs@kampsax.dk>
Cc: tiff@sgi.sgi.com
Subject: Re: libtiff and VMS file attributes (was Re: libtiff on Alpha) 
In-Reply-To: Your message of Tue, 24 Aug 93 08:56:47 +0200.
             <9308240656.AA04241@rokke.kampsax.dk> 
Date: Tue, 24 Aug 93 10:59:25 PDT
From: Sam Leffler <sam@oxford.chez.sgi.com>
Sender: tiff-owner@sgi.sgi.com

    To:      tiff@sgi.sgi.com
    Subject: libtiff and VMS file attributes (was Re: libtiff on Alpha)
    From:    "Karsten Spang" <krs@kampsax.dk>
    Cc:      krs@kampsax.dk
    Date:    Tue, 24 Aug 93 08:56:47 N

    >I suspect that you *are* using VMS. If so, do a "dir/full" on the transferred
    >files and see if the record format is "Stream_CR" or not. The libtiff
    >code uses "unix io", which gags very badly if the file is in fixed record
    >or variable-length record format. For example, doing a "read" on a fixed
    >record will only read in a single records' worth of data, even if you
    >requested more. In addition, you can only "seek" to record boundaries.
    >The files created on the Alpha work because they were forced to have
    >"Stream_CR" record format by the unix-io routines.
    >
    >What we have usually found is that when files are transferred via FTP
    >to a VAX/VMS machine, the file structure could turn out to be any of
    >several different types, depending on which version of the VMS FTP
    >software was used, and which FTP commands are available.

    A patch of mine did not make it into libtiff 3.2. This patch lets libtiff
    read TIFF files with any file organisation under VMS. Well, maybe not
    *any*, but at least STREAM* formats and FIXED formats with an even record
    length, but as long as you transfer the files using "binary", I have never
    experienced a TIFF file not falling into one of these cathegories.

    According to Sam, the patch has been incorporated into the next version.
    If you want it, you may request it from me. As a matter of principle, I
    will not post it to the list, I think that only "authorized" patches from 
    Sam should be posted.

I don't care if others post patches.  Given my recent track record
on getting new code out it would make sense.  One of course needs
to beware of such patches being mismatched with later distributions.

	Sam




