hscurses: NCurses bindings for Haskell

[ library, user-interface ] [ Propose Tags ] [ Report a vulnerability ]

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

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

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
Change log ChangeLog
Dependencies base (>=4.4 && <5), exceptions, mtl, old-locale (>=1.0 && <1.1), old-time (<1.2), unix (>=2.4) [details]
Tested with ghc ==7.6.1, ghc ==7.8
License LicenseRef-LGPL
Copyright Stefan Wehr 2004 - 2011 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.stefanwehr.de>
Maintainer Stefan Wehr <http://www.stefanwehr.de>
Revised Revision 1 made by phadej at 2015-11-13T09:29:40Z
Category User-interface
Home page https://github.com/skogsbaer/hscurses
Source repo head: git clone git://github.com/skogsbaer/hscurses.git
Uploaded by StefanWehr at 2015-02-12T07:59:47Z
Distributions NixOS:1.4.2.0
Reverse Dependencies 5 direct, 158 indirect [details]
Downloads 11455 total (24 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-02-12 [all 1 reports]

Readme for hscurses-1.4.2.0

[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 using GHC
6.12.1, 7.0.3 and 7.2.1.

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

Requirements:

- GNU m4
- GHC >= 6.8
- 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

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.

Windows support:
----------------

Windows support relies on pdcurses (http://pdcurses.sourceforge.net/),
which is already packaged for MinGW
(http://sourceforge.net/projects/mingw/files/MinGW/PDCurses/PDCurses-3.4-1/)
and can be installed with mingw-get.

Thanks to Jos� Romildo Malaquias (malaquias@gmail.com) for porting
hscurses to the windows platform!

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

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

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.