caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] ocaml-curses for Windows
@ 2011-07-02 11:08 José Romildo Malaquias
  2011-07-02 11:33 ` Jérémie Dimino
  2011-07-02 16:34 ` Gerd Stolpmann
  0 siblings, 2 replies; 5+ messages in thread
From: José Romildo Malaquias @ 2011-07-02 11:08 UTC (permalink / raw)
  To: caml-list

Hello.

I am looking for an Ocaml curses library that works in Windows.

Does anybody know if ocaml-curses works in Windows with pdcurses?

Romildo

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] ocaml-curses for Windows
  2011-07-02 11:08 [Caml-list] ocaml-curses for Windows José Romildo Malaquias
@ 2011-07-02 11:33 ` Jérémie Dimino
  2011-07-03  1:32   ` José Romildo Malaquias
  2011-07-02 16:34 ` Gerd Stolpmann
  1 sibling, 1 reply; 5+ messages in thread
From: Jérémie Dimino @ 2011-07-02 11:33 UTC (permalink / raw)
  To: caml-list

Hello,

On Sat, Jul 02, 2011 at 08:08:30AM -0300, José Romildo Malaquias wrote:
> I am looking for an Ocaml curses library that works in Windows.

I am writing the lambda-term library which is a curses library that
works on Unix and Windows:

  https://forge.ocamlcore.org/projects/lambda-term/

It is not yet released but it is already usable.

Cheers,

-- 
Jérémie

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] ocaml-curses for Windows
  2011-07-02 11:08 [Caml-list] ocaml-curses for Windows José Romildo Malaquias
  2011-07-02 11:33 ` Jérémie Dimino
@ 2011-07-02 16:34 ` Gerd Stolpmann
  1 sibling, 0 replies; 5+ messages in thread
From: Gerd Stolpmann @ 2011-07-02 16:34 UTC (permalink / raw)
  To: José Romildo Malaquias; +Cc: caml-list

Am Samstag, den 02.07.2011, 08:08 -0300 schrieb José Romildo Malaquias:
> Hello.
> 
> I am looking for an Ocaml curses library that works in Windows.
> 
> Does anybody know if ocaml-curses works in Windows with pdcurses?

It's not exactly curses, but in ocamlnet there are a number of bindings
for console functions:

https://godirepo.camlcity.org/svn/lib-ocamlnet2/trunk/code/src/netsys/netsys_win32.mli

Look for has_console and the following functions. These should give you
full control over the console screen.

Gerd
-- 
------------------------------------------------------------
Gerd Stolpmann, Bad Nauheimer Str.3, 64289 Darmstadt,Germany 
gerd@gerd-stolpmann.de          http://www.gerd-stolpmann.de
Phone: +49-6151-153855                  Fax: +49-6151-997714
------------------------------------------------------------




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] ocaml-curses for Windows
  2011-07-02 11:33 ` Jérémie Dimino
@ 2011-07-03  1:32   ` José Romildo Malaquias
  2011-07-03  6:42     ` Jérémie Dimino
  0 siblings, 1 reply; 5+ messages in thread
From: José Romildo Malaquias @ 2011-07-03  1:32 UTC (permalink / raw)
  To: Jérémie Dimino; +Cc: caml-list

On Sat, Jul 02, 2011 at 01:33:24PM +0200, Jérémie Dimino wrote:
> Hello,
> 
> On Sat, Jul 02, 2011 at 08:08:30AM -0300, José Romildo Malaquias wrote:
> > I am looking for an Ocaml curses library that works in Windows.
> 
> I am writing the lambda-term library which is a curses library that
> works on Unix and Windows:
> 
>   https://forge.ocamlcore.org/projects/lambda-term/
> 
> It is not yet released but it is already usable.
> 

Thanks for the link.

How should lambda-term be compiled? What pre-requisites are needed?

Romildo

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] ocaml-curses for Windows
  2011-07-03  1:32   ` José Romildo Malaquias
@ 2011-07-03  6:42     ` Jérémie Dimino
  0 siblings, 0 replies; 5+ messages in thread
From: Jérémie Dimino @ 2011-07-03  6:42 UTC (permalink / raw)
  To: caml-list

On Sat, Jul 02, 2011 at 10:32:08PM -0300, José Romildo Malaquias wrote:
> How should lambda-term be compiled? What pre-requisites are needed?

The pre-requisites are the following:

- lwt: http://ocsigen.org/lwt/
- camomile: http://camomile.sourceforge.net/
- zed: http://forge.ocamlcore.org/projects/zed/

To compile the development version, you need to get oasis
(http://oasis.forge.ocamlcore.org/), and run:

$ oasis setup
$ ocaml setup.ml -configure
$ ocaml setup.ml -build
$ ocaml setup.ml -install

Cheers,

-- 
Jérémie

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-07-03  6:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-02 11:08 [Caml-list] ocaml-curses for Windows José Romildo Malaquias
2011-07-02 11:33 ` Jérémie Dimino
2011-07-03  1:32   ` José Romildo Malaquias
2011-07-03  6:42     ` Jérémie Dimino
2011-07-02 16:34 ` Gerd Stolpmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).