[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: splitting the ocaml package ???



Sven LUTHER <luther@dpt-info.u-strasbg.fr> writes:

> On Sat, Mar 24, 2001 at 12:16:25PM +0100, Stefano Zacchiroli wrote:
> > On Sat, Mar 24, 2001 at 11:31:08AM +0100, Sven LUTHER wrote:
> > > BTW, Does someone have more info about the curses dependency of ocaml ?
> > 
> > on my sid machine:
> > $ dpkg -l ocaml | grep Depends
> > Depends: libc6 (>= 2.2.1-2), libncurses5 (>= 5.2.20010310-1), tcl8.3 
> > (>= 8.3.2), tk8.3 (>= 8.3.0), xlibs (>= 4.0.1-11), libncurses5-dev
> > 
> > ocaml depends on libncurses5 and libncurses5-dev which in turn depends
> > only on libc6 and on each other.
> > 
> > Did really ask for this ... ?
> 
> No, there is a new option in the ocaml 3.01 configuration file, which is
> called -nocurses or something like that. I guess this would enable us to build
> ocaml without curses dependency. My question was what is lost by this, and if
> it makes sense for us. 

What is lost is the coloration (underlining) of the error (when
there is one). 

> 
> Please notice, that (at least on a xterm) ocaml 3.01 toplevel seem to have
> broken del/bs handling, as shown in :
> 
> luther@iliana:~/mail/lists$ ocaml
>         Objective Caml version 3.01
> 
> # sdfgsd^H^H^H^[[3~^[[3~^[[3~
> 
> well, this and anyway, up/down arrow don't seem to work. I would have liked
> for it to be built against libreadline ...

there is the ledit program that can be found on the inria ftp that
replace more or less the readline library. It is really usefull, and
not only for ocaml

(generaly speaking a 
ledit command
run command, with readline like capability. There is also the
possibility to use an history file)
-- 
Rémi Vanicat
vanicat@labri.u-bordeaux.fr
http://dept-info.labri.u-bordeaux.fr/~vanicat



Reply to: