Re: putStr "\BEL" and putStr "\ESC[2J" do not behave correctly

"Neil Mitchell" <[email protected]> Tue, 23 Dec 2008 13:22:41 +0000
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
Hi Henk-Jan,

> The following problems occurred in WinHugs (version: Sep 2006, on Windows
> XP):
>
> Printing the BELL character does not result in a beep:
> Hugs> putStr "\BEL"
>
> Trying to clear the screen:
> Hugs> putStr "\ESC[2J"
> [2J

I guess these escape codes just never got on to the implemented list.
The bell is trivial, and clearing the screen probably isn't too hard
either. At the moment I don't have any machines set up that can
compile WinHugs, but I've reported it as a bug:
http://hackage.haskell.org/trac/hugs/ticket/88

Thanks

Neil