Coder Social home page Coder Social logo

phadej / hscurses Goto Github PK

View Code? Open in Web Editor NEW

This project forked from skogsbaer/hscurses

0.0 2.0 0.0 224 KB

ncurses binding for Haskell

Home Page: http://hackage.haskell.org/package/hscurses

License: GNU Lesser General Public License v2.1

Haskell 97.70% C 1.22% Shell 0.84% Makefile 0.24%

hscurses's Introduction

               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 ([email protected]) for porting
hscurses to the windows platform!

There is also a detailed installation instruction by Ilan Godik 
(https://medium.com/@NightRa): 
https://medium.com/@NightRa/installing-hscurses-on-windows-830532d3268a

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.

hscurses's People

Contributors

abesto avatar gwern avatar int-e avatar mietek avatar mikolaj avatar rrnewton avatar saizan avatar shlevy avatar skogsbaer avatar sol avatar yourealwaysbe avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.