Dear Sirs, I installed HUGS98 under Suse 7.3 and was disapppointed to find out that the arrow keys are not functioning as they are supposed to. Instead pressing any of them displays a number of characters - usually [[A or [[B. I can´t navigate between characters, nor can i call up previously used prompts, which annoys me a lot scince i know it can be done (i had been using Hugs98 under Windows before i changed to Linux). Do you know asolutin to this problem. I am pretty new to Lnux so any help will be appreciated. Thanks a lot in advance, Nickolay kolev -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net
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 -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net
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
- 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",,)
Urk, cut-and-paste error. The line to replace should of course be AC_CHECK_LIB(ncurses,main,TERMCAP="-lncurses",,) --sigbjorn
"Nickolay" == Nickolay Kolev <nmk@gmx.li> writes:
Nickolay> I tried by compiling Hugs98 under Suse 7.3 to run configure with Nickolay> --with-readline Nickolay> but among the appearing messages was warning: readline Nickolay> and editline pacakges not available (ignoring Nickolay> --with-readline). It could be that you have the SuSE readline package installed but not the readline-devel package. If so, configure won't be able to find the includes or the library needed by the linker. I think you need to have readline-devel installed (and probably the ncurses and termcap development libraries too?)... peace & happiness, martin
participants (3)
-
Martin Schwenke -
Nickolay Kolev -
Sigbjorn Finne