https://github.com/orc/ndialog
A BSD-licensed semi-clone of the GPLed dialog program
https://github.com/orc/ndialog
Last synced: about 1 year ago
JSON representation
A BSD-licensed semi-clone of the GPLed dialog program
- Host: GitHub
- URL: https://github.com/orc/ndialog
- Owner: Orc
- License: other
- Created: 2010-03-29T19:33:48.000Z (about 16 years ago)
- Default Branch: main
- Last Pushed: 2020-06-15T22:40:39.000Z (about 6 years ago)
- Last Synced: 2025-04-02T15:42:54.828Z (about 1 year ago)
- Language: C
- Homepage: http://www.pell.portland.or.us/~orc/Code/ndialog
- Size: 210 KB
- Stars: 10
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Ndialog is an attempt to duplicate the functionality of Savio Lam's
curses-based dialog (repeatedly forked for various applications,
GPLed fairly early on) without being encumbered with the GPL. I
originally wrote it when my attempts to shoehorn new features into
{whatever version of dialog came with SLS and/or Slackware} collided
with the existing mass of code.
The library sources are in the src subdirectory; a copy of the dialog(1)
program is in the dialog subdirectory.
To build, run
./configure.sh && make
from the toplevel directory (you can also manually cd into the src
subdirectory and do the make). This will generate the file
libndialog.a, which can then be linked with your application (plus
-lpanel & -lncurses, which are obviously needed)
There are four options that configure.sh accepts
--with-bsd-curses Use BSD curses if available
--with-getcap Use the getcap() function to get
function key definitions.
--with-amalloc Use my paranoid memory allocator to try and
track memory leaks
--shared Try to build shared libraries
A description of the library interface is in the directory src/doc,
in my helpfile format (which is a subset of html; opening
src/doc/index.html with any browser will work)