
7 Nov
2004
7 Nov
'04
7 a.m.
Einar Karttunen
It appears that the console is not reset correctly with System.Console.SimpleLineEditor. The terminal does not echo characters until it is reset.
The issue here is the order in which the library makes calls to hSetBuffering and system("stty icanon echo") to reset the terminal. For ghc-6, they are in the wrong order, although for nhc98 and ghc-5, the order doesn't matter. Hence, a simple fix is to swap these calls over, as I have just done in CVS. Regards, Malcolm