[Hugs-users] Problem with Hugs

Ross Paterson ross at soi.city.ac.uk
Fri May 21 12:18:27 EDT 2004


On Fri, May 21, 2004 at 10:02:02AM +0200, Matteo Capelletti wrote:
> I just started using Haskell and Hugs, I work with Linux Mandrake 9.1 and I 
> have a problem with the console:
> Is there a way to set up Hugs in such a way that I can move the cursor using 
> the arrows, or repeat the last command by up-arrow? I have not been able to 
> do this and it is quite hard to use Hugs without this option, since I always 
> have to write again any command (I found a command $$ to repeat the last, but 
> it's not exactly what I need), I cannot make corrections, since I cannot go 
> back... and so on.

Hugs uses readline for this, in the same way as bash, etc.  If you're
building Hugs yourself, you need to have the development package for
readline (readline-devel as well as readline) installed.


More information about the Hugs-Users mailing list