File associations with hugs 98 for windows

Alex Summers ajs300m@doc.ic.ac.uk
Fri, 15 Jun 2001 00:11:42 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_002C_01C0F52F.C1C11B20
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi there,

I have recently started using Hugs 98 for Windows (previously was using =
the MSDOS version). In general it works fine and contains lots of useful =
features. However, in contrast to the MSDOS version, if I associate .hs =
files with hugs98 for windows, and then attempt to open them directly =
(double-clicking on the script file) then it fails with an error such as =
:

ERROR ""C:\HaskellProject\HaskellProject(alex-new).hs"": Unable to open =
file=20
""C:\HaskellProject\HaskellProject(alex-new).hs"" =20

It seems that for some reason the filename gains two sets of double =
quotes which makes it unreadable. I can only guess that Windows supplies =
one set with its file-passing convention, and hugs supplies the other.

Interestingly, I can still edit the file (even from the hugs prompt), as =
WordPad accepts the filename correctly. But any attempt to load it at =
the hugs prompt fails, and I have to remove it from the script manager =
and then add it manually. In the script manager the filename has a =
single set of double quotes, which script files (e.g. the prelude) do =
not normally have here.

Any help would be greatly appreciated.

Thanks in advance,

Alex Summers

------=_NextPart_000_002C_01C0F52F.C1C11B20
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi there,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have recently started using Hugs 98 =
for Windows=20
(previously was using the MSDOS version). In general it works fine and =
contains=20
lots of useful features. However, in contrast to the MSDOS version, if I =

associate .hs files with hugs98 for windows, and then attempt to open =
them=20
directly (double-clicking on the script file) then it fails with an =
error such=20
as :</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>ERROR=20
""C:\HaskellProject\HaskellProject(alex-new).hs"": Unable to open file=20
</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>""C:\HaskellProject\HaskellProject(alex-new).hs""&nbsp; =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>It seems that for some reason the filename gains two sets of double =
quotes=20
which makes it unreadable. I can only guess that Windows supplies one =
set with=20
its file-passing convention, and hugs supplies the other.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Interestingly, I can still edit the file (even from the hugs =
prompt), as=20
WordPad accepts the filename correctly. But any attempt to load it at =
the hugs=20
prompt fails, and I have to remove it from the script manager and then =
add it=20
manually. In the script manager the filename has a single set of double =
quotes,=20
which script files (e.g. the prelude) do not normally have here.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Any help would be greatly appreciated.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks in advance,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Alex Summers</DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_002C_01C0F52F.C1C11B20--