Opened 15 years ago
Closed 15 years ago
#19816 closed defect (fixed)
ghc 6.10.3 is NOT linked to libedit
Reported by: | kazu-yamamoto (Kazu Yamamoto) | Owned by: | gwright@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | ghci libedit | Cc: | |
Port: | ghc |
Description (last modified by mf2k (Frank Schima))
ghc 6.10.3 depends on libedit but ghc 6.10.3 which I installed is not linked to libedit.
% otool -L /opt/local/lib/ghc-6.10.3/ghc /opt/local/lib/ghc-6.10.3/ghc: /opt/local/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) /opt/local/lib/libncursesw.5.dylib (compatibility version 5.0.0, current version 5.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4) /opt/local/lib/libgmp.3.dylib (compatibility version 9.0.0, current version 9.0.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
Because of this, I cannot use command history of ghci (e.g. C-p). Note that I could use this feature on ghci 6.10.2.
Change History (4)
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to gwright@… |
Port: | ghc added |
comment:2 Changed 15 years ago by kazu-yamamoto (Kazu Yamamoto)
comment:3 Changed 15 years ago by gwright@…
Status: | new → assigned |
---|
Yes, 6.10.3 no longer depends on libedit, but on the Haskeline. I will remove the dependency as part of other cleanups.
comment:4 Changed 15 years ago by gwright@…
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
r53756 updates the dependencies.
Note: See
TracTickets for help on using
tickets.
I have resolved this problem. GHC starts using Haskeline instead of libedit. Since the default key binding of Haskeline does not provide C-p, this happens. Adding the following lines to your "~/.haskeline" binds C-p to the previous history command.
bind: ctrl-p up bind: ctrl-n down
Note that I guess dependency to libedit should be removed.