开发者

how to setup linedit support CCL in initial file?

I use 开发者_Go百科quicklisp to install linedit, http://www.cliki.net/Linedit say "Should work on Lispworks and OpenMCL/CCL." how to write $HOME/.ccl-init.lisp?


In the meantime, linedit has been made to work with ccl (linedit 0.17.5 with ccl 1.8).

I added this to .ccl-init.lisp:

(when (interactive-stream-p *standard-input*)
  (ql:quickload "linedit")
  (funcall (intern "INSTALL-REPL" :linedit)))


I just installed Linedit through Quicklisp on CCL 1.7 on Linux and I don't think it works. Observe:

? (ql:quickload "linedit")
; Fetching #<URL "http://beta.quicklisp.org/dist/quicklisp/2011-07-30/systems.txt">
[...]
[package linedit]...........................
("linedit")
? (linedit:install-repl)
> Error: LINEDIT:INSTALL-REPL is unsupported on Clozure Common Lisp.
> While executing: LINEDIT:INSTALL-REPL, in process listener(1).
> Type :POP to abort, :R for a list of available restarts.
> Type :? for other options.
1 > 

I also do not see "Should work on Lispworks and OpenMCL/CCL." mentioned on the page you linked to. It appears to be mostly SBCL specific.

rlwrap does work but that only gives you history, not completion.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜