AGAIN Hugs98 under Linux

Sigbjorn Finne sof@galois.com
Wed, 28 Nov 2001 14:19:36 -0800


Hi,

I suspect it's the ncurses feature test in the configure script that's
failing. Here's something to try:

 - in src/unix/configure.in, change the ncurses test to say

      AC_CHECK_LIB(ncurses,tputs,TERMCAP="-lncurses",,)

    instead of

      AC_CHECK_LIB(ncurses,tputs,TERMCAP="-lncurses",,)

 - do the same for the 'termcap' feature test, i.e., change it to

        AC_CHECK_LIB(termcap,tputs,TERMCAP="-ltermcap",,)

 - run the src/unix/mkconfig script to generate a new configure script.

 - re-run the configure script (with the option --with-readline) & rebuild
   Hugs.

hth
--sigbjorn

----- Original Message -----
From: "Nickolay Kolev" <nmk@gmx.li>
To: <hugs-bugs@haskell.org>
Sent: Wednesday, November 28, 2001 00:23
Subject: AGAIN Hugs98 under Linux


> Dear Sirs,
>
> I tried by compiling Hugs98 under Suse 7.3 to run configure with
> --with-readline
> but among the appearing messages was warning: readline and editline
pacakges
> not
> available (ignoring --with-readline).
>
> Emacs style navigation does not work as well (CTRL+P does not bring up the
> previous prompt for example...).
>
> How do i solve that problem? I would prefer to use the arrow keys,ut emacs
> style
> (CTRL+) would be OK too... just not rewriting everithing over and over.
>
> Many thanks in advance,
> Nickolay Kolev
>