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

"Henk-Jan van Tuyl" <[email protected]> Sun, 21 Dec 2008 16:06:19 +0100
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
The following problems occurred in WinHugs (version: Sep 2006, on Window=
s  =

XP):

Printing the BELL character does not result in a beep:
Hugs> putStr "\BEL"
=07

Trying to clear the screen:
Hugs> putStr "\ESC[2J"
[2J

In Hugs (version: 20051031), the BELL character results in a beep, but t=
he  =

CLS escape code had the same effect as in WinHugs.

-- =

Met vriendelijke groet,
Henk-Jan van Tuyl


--
http://functor.bamikanarie.com
http://Van.Tuyl.eu/
--