Re: Problem with Hugs

Ross Paterson <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.user
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.