I have encountered a few bugs in the Win32 distribution of Hugs 1.4
(december 1997 version). I use three OS:es, with Windows 95 on the C:
partition, and Windows NT on the D: partition (plus a Linux partition). 

Having installed the distribution on my D: (NTFS) partition, I started up
the console interpreter which worked fine. However, when I try to start
the GUI interpreter, it bugs out with a fatal error, claiming it could not
find the prelude. So I changed the working directory of the program to
that of the /lib directory (where prelude.hs is located) and it works
perfectly. Having done that, I entered the options menu and changed the
search path string from the line starting with "{hugs}..." to the REAL
search path of my system (D:\program\hugs). After that, I close down the
program, reset the working directory of the shortcut to my own source dir,
and try to start it up. Fatal error, could not find the prelude. I change
back to the /lib dir, start it up and examine the Hugs options. To my
dismay, the search path string has been reset to the original string.

It seems to me there is some kind of bug in the installation process as
well as in saving the options. I have checked in my registry, and sure
enough, under HKEY_LOCAL_MACHINE\\SOFTWARE\\Haskell\\Hugs I find a SZ
variable named InstallDir pointing to my Hugs path D:\program\hugs.

This is, as you can see, not a fatal bug, but nonetheless a very annoying
one. Hopefully the information I have provided you is enough to track down
and squish it.

Sincerely,
Niklas Elmqvist
CS student of the Chalmers University of Engineering

-- Niklas Elmqvist ([EMAIL PROTECTED]) -----------------------
 "Voodoo is a very interesting religion for the whole family, even 
  those members of it who are dead."
        - Terry Pratchett, Good Omens

Reply via email to