Changeset View
Changeset View
Standalone View
Standalone View
contrib/bsddialog/README.md
# BSDDialog | # BSDDialog | ||||
**Work In Progress!** | **Work In Progress!** | ||||
This project provides **bsddialog** and **libbsddialog**, an utility and a | This project provides **bsddialog** and **libbsddialog**, an utility and a | ||||
library to build scripts and tools with *TUI Widgets*. | library to build scripts and tools with *TUI Widgets*. | ||||
Description: | Description: | ||||
<https://www.freebsd.org/status/report-2021-04-2021-06/#_bsddialog_tui_widgets> | <https://www.freebsd.org/status/report-2021-04-2021-06/#_bsddialog_tui_widgets> | ||||
Screenshots: | |||||
<https://www.flickr.com/photos/alfonsosiciliano/albums/72157720215006074> | |||||
## Getting Started | ## Getting Started | ||||
FreeBSD: | FreeBSD: | ||||
``` | ``` | ||||
% git clone https://gitlab.com/alfix/bsddialog.git | % git clone https://gitlab.com/alfix/bsddialog.git | ||||
% cd bsddialog | % cd bsddialog | ||||
% make | % make | ||||
% ./bsddialog --msgbox "Hello World!" 8 20 | % ./bsddialog --msgbox "Hello World!" 8 20 | ||||
``` | ``` | ||||
If you are using XFCE install | If you are using XFCE install | ||||
[devel/ncurses](https://www.freshports.org/devel/ncurses/) | [devel/ncurses](https://www.freshports.org/devel/ncurses/) | ||||
``` | ``` | ||||
% sudo pkg install ncurses | % sudo pkg install ncurses | ||||
% git clone https://gitlab.com/alfix/bsddialog.git | % git clone https://gitlab.com/alfix/bsddialog.git | ||||
% cd bsddialog | % cd bsddialog | ||||
% make -DPORTNCURSES | % make -DPORTNCURSES | ||||
% ./bsddialog --msgbox "Hello World!" 8 20 | |||||
``` | |||||
Linux: | |||||
``` | |||||
% git clone https://gitlab.com/alfix/bsddialog.git | |||||
% cd bsddialog | |||||
% make -GNUMakefile | |||||
% ./bsddialog --msgbox "Hello World!" 8 20 | % ./bsddialog --msgbox "Hello World!" 8 20 | ||||
``` | ``` | ||||
Output: | Output: | ||||
![screenshot](screenshot.png) | ![screenshot](screenshot.png) | ||||
▲ Show 20 Lines • Show All 126 Lines • Show Last 20 Lines |