Awesome
ncurses
The ncurses (new curses) library
Maintainers
- The Core Planners: chef-core-planners@chef.io
Type of Package
Binary package
Use as Dependency
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.
Buildtime Dependency
pkg_build_deps=(core/ncurses)
Runtime Depdendency
pkg_deps=(core/ncurses)
Use as Tool
Installation
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
...
Using an example binary
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
...