Dear Sirs/Mesdames: I teach Computer Science here at Walsh University, and am planning to teach a new course using Haskell. My computer is a Dell Optiplex GXi with Windows NT version 4. I have Hugs 98, downloaded over a year ago. My download file is named "HUGS98-FEB2001.MSI" -- (I probably inserted the FEB2001 myself.) It installs without problems but at no time asks which editor to associate with HUGS. When I run HUGS and give the command :set, I read the following setting -EC:\WINNT\notepad.exe. Now I have Notetab light installed in C:\Program Files\Notetab Light\notetab.exe. So in Hugs I gave the command: :set -E"C:\\Program Files\\Notetab Light\\notetab.exe". When I then try :edit c:\temp\foo.hs, nothing happens that I can see. I restored the setting to its original form with notepad. Now :edit could no longer bring up notepad. I re-installed HUGS. Still the editor (with setting for notepad as installed) showed no effect when called. How can I set the editor to my preferred software notetab.exe? If I must manually edit the Registry -- something I have never dared to do until now, I would need to know where to navigate to! Many thanks ahead for your kind help! Ernest Paquet Computer Science Dept. Walsh University Canton, OHIO 44720.
Hi,
the following works for me with NotePad and the
Dec2001 release:
:set -E"c:\\Program Files\\TextPad 4\\textpad \"%s\"(%d)"
A couple of ":set -E" bugs were fixed after the Feb2001 release,
so you may want to consider switching to using the Dec2001
release instead & (hopefully) just sidestep the problem.
hth
--sigbjorn
btw, ":set -Enotepad" ought to work.
----- Original Message -----
From: "Ernest Paquet"
Dear Sirs/Mesdames:
I teach Computer Science here at Walsh University, and am planning to teach a new course using Haskell. My computer is a Dell Optiplex GXi with Windows NT version 4. I have Hugs 98, downloaded over a year ago. My download file is named "HUGS98-FEB2001.MSI" -- (I probably inserted the FEB2001 myself.) It installs without problems but at no time asks which editor to associate with HUGS. When I run HUGS and give the command :set, I read the following setting -EC:\WINNT\notepad.exe.
Now I have Notetab light installed in C:\Program Files\Notetab Light\notetab.exe. So in Hugs I gave the command: :set -E"C:\\Program Files\\Notetab Light\\notetab.exe".
When I then try :edit c:\temp\foo.hs, nothing happens that I can see. I restored the setting to its original form with notepad. Now :edit could no longer bring up notepad. I re-installed HUGS. Still the editor (with setting for notepad as installed) showed no effect when called.
How can I set the editor to my preferred software notetab.exe? If I must manually edit the Registry -- something I have never dared to do until now, I would need to know where to navigate to!
Many thanks ahead for your kind help!
Ernest Paquet Computer Science Dept. Walsh University Canton, OHIO 44720.
_______________________________________________ Hugs-Bugs mailing list Hugs-Bugs@haskell.org http://www.haskell.org/mailman/listinfo/hugs-bugs
participants (2)
-
Ernest Paquet -
Sigbjorn Finne