libedit-20080712-2.11 under x86 Solaris

Hi, I've installed libedit-20080712-2.11 (from sources) for ghc-6.10.0.20081007 under x86 Solaris. However, ghci comes up with: GHCi, version 6.10.0.20081007: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer ... linking ... done. Loading package base ... linking ... done. No entry for terminal type "xterm"; using dumb terminal settings. Prelude> The keys work, but how do I get rid of No entry for terminal type "xterm"; using dumb terminal settings. ? I have a file /usr/local/share/terminfo/x/xterm (but no terminfo under /usr/share/) Any ideas? Thanks Christian

On Thu, Oct 9, 2008 at 9:03 AM, Christian Maeder
Hi,
I've installed libedit-20080712-2.11 (from sources) for ghc-6.10.0.20081007 under x86 Solaris.
However, ghci comes up with:
GHCi, version 6.10.0.20081007: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer ... linking ... done. Loading package base ... linking ... done. No entry for terminal type "xterm"; using dumb terminal settings. Prelude>
The keys work, but how do I get rid of
No entry for terminal type "xterm"; using dumb terminal settings.
?
I have a file /usr/local/share/terminfo/x/xterm (but no terminfo under /usr/share/)
Any ideas? Thanks Christian
Strange; it seems like terminfo isn't looking in the right location for the xterm files. Incidentally, the "dumb" terminal settings may be deficient when you type a line longer than the terminal width. What OS is this? Did you download and install (n)curses manually? Can you use some program to monitor the filesystem (for example, fs_usage on OS X) and see where the program is looking for the terminfo databases? -Judah

Judah Jacobson wrote:
Strange; it seems like terminfo isn't looking in the right location for the xterm files. Incidentally, the "dumb" terminal settings may be deficient when you type a line longer than the terminal width.
What OS is this? Did you download and install (n)curses manually?
SunOS 5.10 Generic_137112-07 i86pc i386 i86pc In fact ncurses was the problem. My LD_LIBRARY_PATH pointed to a copied version of libncurses.so.5 (pointing to libncurses.so.5.6) that was later replaced by our admins (maybe they've noticed such a problem, too). Now it works. Thanks and sorry for the trouble.
Can you use some program to monitor the filesystem (for example, fs_usage on OS X) and see where the program is looking for the terminfo databases?
(I didn't find something) Cheers Christian
participants (2)
-
Christian Maeder
-
Judah Jacobson