getContents, getLine, etc.

Wojciech Moczydlowski, Jr wm174746@zodiac.mimuw.edu.pl
Thu, 31 Jul 2003 23:56:41 +0200 (CEST)


  Hello everyone,

I am currently writing a small program in Haskell, using Hugs under
Linux to run it. The program works in a conversation mode, a user issues a
lot of lengthy commands. However, backspace doesn't work, no matter which function
(getContents, getLine) I use, which makes debugging and normal work with 
the program a nightmare. Does anyone know any workaround (i.e. sensible
replacement to getLine) apart from switching to ghc and using the readline 
library? 

Wojciech Moczydlowski, Jr