Mosaic 2.0 in CPU loop.

"Fred Zwarts, KVI, Groningen, NL." <>
Date: Tue, 30 Nov 1993 09:15:17 +0000 (WET)
From: "Fred Zwarts, KVI, Groningen, NL." <>
Subject: Mosaic 2.0 in CPU loop.
Sender: "Fred Zwarts, KVI, Groningen, NL." <>
Message-id: <>
X-Ps-Qualifiers: /FORM=A4/LEFT_MARGIN=36/TOP_MARGIN=36
X-Vms-To: IN%""
Mime-Version: 1.0
Content-Transfer-Encoding: 7BIT
I have a problem with Mosaic 2.0 under VMS. It enters a CPU loop when I access
a Gopher HTML document which has an inline image for which the URL is specified
as "./Logo.gif". The CPU loop is probably caused by an improper Gopher type for
a gif file. I am not sure whether this is general Mosaic problem or a problem
specific for the VMS version.

I would like to know the best way to fix it. I made the following change:

  363   /*	while (GetDataBlock(fd, (unsigned char*) buf) != 0) F.Z. */
  364   	while (GetDataBlock(fd, (unsigned char*) buf) > 0)
  365   		;
  363   	while (GetDataBlock(fd, (unsigned char*) buf) != 0)
  364   		;

because it turned out that GetDataBlock kept returning a value of -1. This now
prevents the CPU loop, but the inline images are not displayed correctly. Is
there a better way to fix it? Or is the only hope that that the owner of the
document fixes the URL for the image?

Fred Zwarts	KVI, Groningen, Netherlands	Internet:
Phone:		(+31)50-633619			Telefax:	(+31)50-634003
X400:		C=nl;ADMD=400net;PRMD=surf;O=KVI;S=Zwarts;G=Fred