WinHugs beta
Krasimir Angelov
kr.angelov at gmail.com
Thu Oct 6 10:34:32 EDT 2005
2005/10/6, Neil Mitchell <ndmitchell at gmail.com>:
> Hi,
>
> > - I am using TextPad but it takes too long time to open TextPad from Hugs.
> It opens textpad using dde, and if you system has a badly behaved dde
> program running (one that accepts the incomming dde calls but does not
> respond) then it requires a dde handshake timeout to continue - which
> typically takes about 20 seconds. I use textpad and its all fine, so I
> suspect this is a problem with your system and not with hugs. If you
> change the options to use c:\program files\textpad\textpad.exe to open
> the thing it will open faster, but may open multiple instances. Maybe
> upgrading textpad might help? Does the issue manifest itself when the
> text editor is set to notepad? [see options]
NotePad is working fine. I the problem is that you are using
DDEOPN32.EXE. I tried to associate .txt extension to TextPad and when
I am opening any text file from Windows Explorer then it is working
fine. From Tools/Folder Options menu in Windows Explorer you can see
that it is launching TextPad directly through DDE. Some times ago I
was using TextPad in this way and it was working fine. Unfortunately
currently I can't remember the details. I think that you should use
the DDE API directly.
> > - In the module manager the "Add" button does nothing, or at least I
> > don't know how to use it.
> Ah, the module manager. I have no idea what it did before and even
> less idea what it does now. Did you used to use the module manager?
> I'm inclined to kill it but left it for compatability reasons.
It was a long time since I used Hugs for the last time. Usually I am
using GHC but I was curious to see how the new WinHugs looks like. The
"Add" button should open a dialog where I should be able to select a
new Haskell module to load in Hugs.
> > - Prelude.getLine function works but I can't see the characters which
> > I am typing in.
> This seems to be by design, and a feature of hugs, my supervisor
> distributes a patch which changes this in the York uni copy of hugs.
> If this is not intentional can someone please say and i'll happily
> change the behaviour.
It is strange and it is inconsistent with GHC.
> > - Prelude.interact starts an infinite loop and I can type in what ever
> > I want but the interactive function is never called. I tried "interact
> > id" expression.
> See prelude.getLine. It does execute, but it doesn't echo what you
> type. i.e. when you type "a", the id function returns a, which is what
> you see, but you don't see the original a you type. This is the same
> as teh previous complaint, and if I fix one the other will have the
> same fix.
ok.
Cheers,
Krasimir
More information about the Cvs-hugs
mailing list