WinHugs beta
Neil Mitchell
ndmitchell at gmail.com
Fri Oct 7 08:46:32 EDT 2005
Hi,
Ok, my bad - it was working on windows console all along but with the
line buffering which confused me. This patch implements echoing the
character for WinHugs. It doesn't buffer lines, but its probably
enough for now.
Thanks
Neil
On 10/7/05, Ross Paterson <ross at soi.city.ac.uk> wrote:
> On Thu, Oct 06, 2005 at 07:26:21PM +0100, Neil Mitchell wrote:
> > > Under Unix, echoing is left to the OS. The usual OS setting is to echo
> > > by characters. I thought plain hugs running in a Windows console window
> > > did this too, but haven't checked.
> > It doesn't.
>
> How odd. I just tried plain hugs (both a mingw-compiled version and the
> VC-compiled one you sent me) from the explorer in NT4 and it worked as
> I'd hoped it would:
>
> Hugs> getLine >>= print
> hello
> "hello"
>
> i.e. it echoed each character as I typed it, and I was able to correct
> the input with backspace before hitting return. Same for interact.
>
> _______________________________________________
> Cvs-hugs mailing list
> Cvs-hugs at haskell.org
> http://www.haskell.org/mailman/listinfo/cvs-hugs
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: interact_echo.patch
Type: application/octet-stream
Size: 489 bytes
Desc: not available
Url : http://www.haskell.org//pipermail/cvs-hugs/attachments/20051007/efe679ff/interact_echo-0001.obj
More information about the Cvs-hugs
mailing list