From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id D46DEBBBB for ; Sun, 19 Feb 2006 09:08:26 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k1J88QXe017725 for ; Sun, 19 Feb 2006 09:08:26 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id JAA25697 for ; Sun, 19 Feb 2006 09:08:25 +0100 (MET) Received: from newman.eecs.umich.edu (newman.eecs.umich.edu [141.213.4.11]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k1J88NI1017716 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Sun, 19 Feb 2006 09:08:24 +0100 Received: from edinburgh.eecs.umich.edu (edinburgh.eecs.umich.edu [141.213.4.27]) by newman.eecs.umich.edu (8.13.2/8.13.0) with ESMTP id k1J88JVH032452 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 19 Feb 2006 03:08:19 -0500 Received: from edinburgh.eecs.umich.edu (localhost.eecs.umich.edu [127.0.0.1]) by edinburgh.eecs.umich.edu (8.13.1/8.13.0) with ESMTP id k1J88JLX026523 for ; Sun, 19 Feb 2006 03:08:19 -0500 Received: (from pelzlpj@localhost) by edinburgh.eecs.umich.edu (8.13.1/8.13.1/Submit) id k1J88JcT026522 for caml-list@inria.fr; Sun, 19 Feb 2006 03:08:19 -0500 Date: Sun, 19 Feb 2006 03:08:19 -0500 From: Paul Pelzl To: Caml mailing list Subject: Re: [Caml-list] ocaml ncurses bindings Message-ID: <20060219080819.GP5245@edinburgh.eecs.umich.edu> Mail-Followup-To: Caml mailing list References: <20060215164721.GA16419@clipper.ens.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20060215164721.GA16419@clipper.ens.fr> User-Agent: Mutt/1.4.1i X-Virus-Scan: : UVSCAN at UoM/EECS X-Miltered: at nez-perce with ID 43F8277A.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 43F82777.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 ncurses:01 bindings:01 ocaml:01 ocaml-tmk:01 ocaml-tmk:01 curses:01 bindings:01 curses:01 lgpl:01 ncurses:01 widget:01 low-level:01 bugfixes:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 On Wed, Feb 15, 2006 at 05:47:21PM +0100, Nicolas George wrote: > Le septidi 27 pluviôse, an CCXIV, Kai Kuehne a écrit : > > Just a question... I wan't to start programming in Ocaml but it would be great > > if there were a ncurses-binding. I know ocaml-tmk, but there is no release yet > > and it seems that there won't be a release-version. :) > > > > Well.. is anybody here planning to implement a ncurses-binding for ocaml > > or finish ocaml-tmk? > > Hi. I am the shameful author of ocaml-tmk. I can say that for me, the > project is dead: I almost do not write Caml these times, and I have more > pressing things to do. > > I say "shameful" because at least one person proposed to carry on the > project, and I procrastinated my reply. Which makes I must make apologies > for replying so late, which makes me procrastinate more. So today I force > myself to answer. I am really sorry for people who counted on me. I think I may have offered to take over the project at one point... or at least I considered offering. I forget. I maintain two projects that use a slightly-forked version of your curses bindings: http://www.eecs.umich.edu/~pelzlpj/orpie http://www.eecs.umich.edu/~pelzlpj/wyrd Since I'm already maintaining that fork as part of those projects, it wouldn't be a big deal for me to set up a minimal website and offer the curses bindings as a separate package. > I am willing to give the project to anyone who wants it, provided he tells > me exactly what I have to do on the Savannah website to change the > ownership, including a possible licence change to include > I-do-not-remember-what Caml-specific exception to the LGPL.. If you do want to hand over the project to me, I'd rather not deal with Savannah. I'd just set up a personal site and let you link to it ("this project has moved..."). > As for your immediate needs: the ncurses binding in the current state of TMK > was working and fairly complete last time I checked. As far as I remember, > the only missing parts are the scanf-like functions and the mouse parts. > What is not complete at all is the widget system on top of that, but if you > only need low-level ncurses functions, you may be lucky. > > On the other hand, the code dates back to just before the coming of > dynalically-loaded primitives. The build system is probably broken with > regard to that aspect. Kai, I'd recommend you grab the curses bindings out of the source code from one of the projects I linked above. They've got a couple of bugfixes that are not in ocaml-tmk, and they've been updated to work with recent OCaml releases. Paul