Go Back   Rhinocerus > Newsgroup > Newsgroup comp.lang.* 2 > Newsgroup comp.lang.ml

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 08-05-2004, 01:57 PM
Ara.T.Howard
Guest
 
Posts: n/a
Default ocaml and readline


i've installed ocaml via rpm (i generally compile everything) and was suprised
that it does not seem to use readline... can anyone confirm that i should
pick up readline if i compile myself??

cheers.

-a
--
================================================== =============================
| EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
| PHONE :: 303.497.6469
| A flower falls, even though we love it;
| and a weed grows, even though we do not love it.
| --Dogen
================================================== =============================

Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

  #2 (permalink)  
Old 08-06-2004, 03:55 PM
William Lovas
Guest
 
Posts: n/a
Default Re: ocaml and readline

In article <cetebq$8ej$1@wolfberry.srv.cs.cmu.edu>, Ara.T.Howard wrote:
>
> i've installed ocaml via rpm (i generally compile everything) and was suprised
> that it does not seem to use readline... can anyone confirm that i should
> pick up readline if i compile myself??


O'Caml's license precludes them linking it with readline. An easier
solution than hacking it to work yourself is to seek out a tool called
`ledit' -- it allows you to run any command-line-oriented program with
readline-like history and editing. And it's written in O'Caml, to boot!

cheers,
William

Reply With Quote
  #3 (permalink)  
Old 08-06-2004, 03:55 PM
Eric C. Cooper
Guest
 
Posts: n/a
Default Re: ocaml and readline

"Ara.T.Howard" <Ara.T.Howard@noaa.gov> writes:
> i've installed ocaml via rpm (i generally compile everything) and
> was suprised that it does not seem to use readline... can anyone
> confirm that i should pick up readline if i compile myself??


No, the readline license is incompatible with the OCaml license.

You can run ocaml under any of the numerous readline-like wrappers
(like ledit, which is written in OCaml, or cle, rlwrap, etc.), or
you can use ocaml-mode under Emacs.

--
Eric C. Cooper e c c @ c m u . e d u

Reply With Quote
  #4 (permalink)  
Old 08-09-2004, 03:30 PM
Ara.T.Howard
Guest
 
Posts: n/a
Default Re: ocaml and readline

On Fri, 6 Aug 2004, William Lovas wrote:

> In article <cetebq$8ej$1@wolfberry.srv.cs.cmu.edu>, Ara.T.Howard wrote:
>>
>> i've installed ocaml via rpm (i generally compile everything) and was suprised
>> that it does not seem to use readline... can anyone confirm that i should
>> pick up readline if i compile myself??

>
> O'Caml's license precludes them linking it with readline. An easier
> solution than hacking it to work yourself is to seek out a tool called
> `ledit' -- it allows you to run any command-line-oriented program with
> readline-like history and editing. And it's written in O'Caml, to boot!
>
> cheers,
> William


thank william - i just got this for some reason, i think our mail server is
acting up.

regards.

-a
--
================================================== =============================
| EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
| PHONE :: 303.497.6469
| A flower falls, even though we love it;
| and a weed grows, even though we do not love it.
| --Dogen
================================================== =============================

Reply With Quote
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 12:31 PM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.