1. Newt for Euphoria

I've pretty much completed wrapping Newt for Euphoria. From the site...

Newt is a programming library for color text mode, widget based user interfaces. Newt can be used to add stacked windows, entry widgets, checkboxes, radio buttons, labels, plain text fields, scrollbars, etc., to text mode user interfaces. Newt is based on the S-Lang library.

It only runs on Linux, but every major distribution should have it pre-installed (even console-only installs, since that is its primary use). I've included a few basic examples from the tutorial, and one of my own that uses several more controls.

I haven't tested all of the functions, and I've had to emulate some functionality (but not much) to get around the variable-argument functions used in the C code, so if it crashes let me know and I'll work it out.

Screen shot of PartImage from Wikipedia, made with Newt:
http://upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Partimage.png/300px-Partimage.png

Note: If you use PuTTY, change Window > Translation > Remote character set to UTF-8 or the line characters won't come through correctly.

Download eunewt.zip (11.4 KB)
Mercurial hg clone https://bitbucket.org/ghaberek/eunewt

-Greg

new topic     » topic index » view message » categorize

2. Re: Newt for Euphoria

Already found a bug in example6.ex. I also updated newt.e to only look for version "0.52".

-Greg

new topic     » goto parent     » topic index » view message » categorize

3. Re: Newt for Euphoria

ghaberek said...

I've pretty much completed wrapping Newt for Euphoria. From the site...

Cool. Everything seems to work here with a bleeding edge 64-bit euphoria 4.1 interpreter.

Matt

new topic     » goto parent     » topic index » view message » categorize

4. Re: Newt for Euphoria

Nice library ghaberek!

I have just tested it under Fedora and it's cool an simple. It will help me a lot to make console apps :)

thanks, Raúl

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu