[Haskell-cafe] Re: HSCurses - Hello World? (can't find much documentation)

Jeff Wheeler wheele11 at illinois.edu
Fri Nov 5 01:26:08 EDT 2010


On Thu, Nov 4, 2010 at 10:16 PM, Michael Forster <mike at sharedlogic.ca> wrote:
> On Fri, Oct 22, 2010 at 17:09:52 EDT, Ari Rahikkala wrote:
>> On Fri, Oct 22, 2010 at 11:18 PM, Anonymous Void <byteasphyxia at gmail.com> wrote:
>> > But since I've never seen how the HSCurses functions really integrate
>> > together, or any tutorials/examples (besides hsFishEx),
>> > I fear toying with it is going to be annoying until I figure it out on my
>> > own, especially since I'm already doing a project for someone...
>> > So, I was wondering if anyone would be kind enough to point me to (or write
>> > me) a basic example of how HSCurses works,
>> > maybe w/ some very simple example of interactivity (e.g. getch processing,
>> > screen refresh, ..)  support.
>> > Also, maybe warn me of some of the common pitfalls and differences in
>> > hscurses vs ncurses in other languages.
>>
>> UI.HSCurses.Curses follows ncurses quite closely so you can get pretty
>> far reading the NCurses Programming HOWTO:
>> http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/
>
>
> Also, http://invisible-island.net/ncurses/ncurses-intro.html.

You might also want to look at the vty and vty-ui packages, which
provide nicer, higher-level UIs for terminals.

-- 
Jeff Wheeler

Undergraduate, Electrical Engineering
University of Illinois at Urbana-Champaign


More information about the Haskell-Cafe mailing list