hscurses: NCurses bindings for Haskell

[ library, user-interface ] [ Propose Tags ]

Binding to NCurses, a library of functions that manage an application's display on character-cell terminals. Additionally, it contains some basic widgets such as a text input widget and a table widget.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.2, 1.3, 1.3.0.1, 1.3.0.2, 1.4.0.0, 1.4.1.0, 1.4.1.1, 1.4.1.2, 1.4.2.0
Dependencies base (>=1.0), haskell98 (>=1.0), mtl (>=1.0), unix (>=1.0) [details]
License LicenseRef-LGPL
Copyright Stefan Wehr 2004, 2005 Don Stewart 2004 Tuomo Valkonen 2004 John Meacham 2002-2004
Author John Meacham <john at repetae dot net> Tuomo Valkonen <tuomov at iki.fi> Don Stewart <http://www.cse.unsw.edu.au/~dons> Stefan Wehr <http://www.informatik.uni-freiburg.de/~wehr/>
Maintainer Stefan Wehr <http://www.informatik.uni-freiburg.de/~wehr/>
Category User-interface
Home page http://www.informatik.uni-freiburg.de/~wehr/haskell/
Uploaded by GwernBranwen at 2008-03-03T21:07:38Z
Distributions NixOS:1.4.2.0
Reverse Dependencies 5 direct, 158 indirect [details]
Downloads 11219 total (43 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for hscurses-1.2

[back to package description]
               hscurses -- A Haskell Binding to NCurses
               =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

hscurses is a Haskell binding to the NCurses library, a library of
functions that manage an application's display on character-cell
terminals. hscurses also provides some basic widgets implemented on
top of the ncurses binding, such as a text input widget and a table
widget.

The hscurses library has been reported to work on Linux x86 and on
OpenBSD using GHC 6.2, 6.4, 6.6, 6.6.1, 6.8.2.

Building and installing the hscurses library with GHC 6.6
---------------------------------------------------------

Requirements:

- GNU m4
- GHC >= 6.6
- ncurses

Build and installation steps:

  runhaskell Setup.hs configure
  runhaskell Setup.hs build
  runhaskell Setup.hs install

In order to generate the API documentation, you need haddock
(http://www.haskell.org/haddock). The command is then:

  runhaskell Setup.hs haddock


Building and installing the hscurses library with GHC 6.2 and 6.4
-----------------------------------------------------------------

Requirements:

- GNU make
- GNU m4
- GHC >= 6.2
- ncurses

Build and installation steps:

  sh configure
  make
  make doc          # if you want to build the API documentation
  make install      # probably as root

  make register     # probably as root
OR
  make user-register  # don't need to be root

In order to generate the API documentation, you need haddock
(http://www.haskell.org/haddock). The command is then:

  make doc          # result goes to ./html


Using the hscurses library:
---------------------------

Just add the flag `-package hscurses' to the compiler flags. At the
moment, user documentation is only available through Haddock API
documentation.


Copyright:
----------

   John Meacham <john at repetae dot net>, 2002-2004.
   Tuomo Valkonen <tuomov at iki.fi>, 2004.
   Don Stewart <http://www.cse.unsw.edu.au/~dons>, 2004.
   Stefan Wehr <http://www.stefanwehr.de>, 2004-2005.


History:
--------

John Meacham started the binding for his chat client Ginsu
(http://repetae.net/john/computer/ginsu/).

Tuomo Valkonen integrated to code into Riot
(http://modeemi.fi/~tuomov/riot/), with minor modifications.

Don Stewart improved the code for the Yi editor
(http://www.cse.unsw.edu.au/~dons/yi.html).

Stefan Wehr turned the binding into a standalone library. He also
added some basic widgets.