The ncurses (new curses) library
- The Core Planners: [email protected]
Binary package
Binary packages can be set as runtime or build time dependencies. See Defining your dependencies for more information.
To add core/ncurses as a depdendency, you can add one of the following to your plan file.
pkg_build_deps=(core/ncurses)
pkg_deps=(core/ncurses)
To install this plan, you should run the following commands to first install, and then link the binaries this plan creates.
hab pkg install core/ncurses
» Installing core/ncurses
☁ Determining latest version of core/ncurses in the 'stable' channel
☛ Verifying core/ncurses/6.1/20200305230210
✓ Installed core/ncurses/6.1/20200305230210
★ Install of core/ncurses/6.1/20200305230210 complete with 1 new packages installed.
hab pkg binlink core/ncurses
» Binlinking captoinfo from core/ncurses into /bin
★ Binlinked captoinfo from core/ncurses/6.1/20200305230210 to /bin/captoinfo
...
You can now use the binary as normal:
/bin/captoinfo --help
or captoinfo --help
Usage: captoinfo [-e names] [-o dir] [-R name] [-v[n]] [-V] [-w[n]] [-1aCDcfGgIKLNrsTtUx] source-file
Options:
-0 format translation output all capabilities on one line
-1 format translation output one capability per line
-a retain commented-out capabilities (sets -x also)
-C translate entries to termcap source form
...