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

Re: OCaml curses?



On Wed, Aug 08, 2007 at 10:14:15AM +0200, Samuel Mimram wrote:
> Hi,
> 
> Richard Jones wrote:
> > On Tue, Aug 07, 2007 at 03:15:23PM +0000, Sylvain Le Gall wrote:
> >> On 07-08-2007, Richard Jones <rich@annexia.org> wrote:
> >>> On Tue, Aug 07, 2007 at 10:01:04AM -0400, Stefano Zacchiroli wrote:
> >>>> On Tue, Aug 07, 2007 at 02:52:18PM +0100, Richard Jones wrote:
> > I've talked to upstream today and Nicolas has given me admin
> > permissions on the Savannah site.  So I'll produce a new upstream
> > release shortly (probably tomorrow).  Does anyone mind if I deprecate
> > the tmk/ directory?  Personally I'm only really interested in the
> > curses stuff.
> 
> Great news. A curses binding is something that I've heard many people
> want. Before making a release, please consider renaming functions or at
> least providing decent aliases. I had a quick look at the mli and I have
> absolutely no idea about what the "mvwinch" function could do for
> example (ok, I'm cheating a bit since I could have looked in the curses
> doc). ocamldocumenting a bit would also be nice...

I think it's better to keep the names compatible with curses:

$ man mvwinch

curs_inch(3X)                                                    curs_inch(3X)

NAME
       inch,  winch,  mvinch,  mvwinch - get a character and attributes from a
       curses window

SYNOPSIS
       #include <curses.h>

       chtype inch(void);
       chtype winch(WINDOW *win);
       chtype mvinch(int y, int x);
       chtype mvwinch(WINDOW *win, int y, int x);

[etc]

Rich.

-- 
Richard Jones
Red Hat



Reply to: