Portconfig
FreeBSD provides the Ports Collection to give users and administrators a simple way to install applications. The collection provides tens of thousands of ports; port configuration is a key feature. It is possible to configure a port before the building and installation. The command "make config" uses portconfig to provides a text user interface (TUI) to set up port options interactively.
Instead portoptscli provides a Command Line Interface (CLI) to set up port options interactively. It is designed primarily for screen readers and visually impaired users but can be used by anyone wishing to use a CLI instead of a TUI.
This wiki page collects feature requests and problems to improve portconfig.
Feature requests
Description |
Reported by, Links, and extras |
Status |
Open pkg-help |
Added. portconfig 0.1 |
|
PageUp and PageDown (bsddialog request) |
Added. bsddialog 0.0.1, (implicitly) portconfig 0.2 |
|
shortcut item name (bsdddialog tzsetup request) |
Added. bsddialog 0.0.1, (implicitly) portconfig 0.2 |
|
Add Ctrl-L to refresh window |
Added. bsddialog 1.0.2, (implicitly) portconfig 0.6.2 |
|
Add Ctrl-P and Ctrl-N |
Added. bsddialog 1.0.2, (implicitly) portconfig 0.6.2 |
|
New features to set themes/colors |
Added. portconfig 0.6.2 |
Problems
Description.
Environment. Output: % echo $TERM ; echo $SHELL ; uname -r ; portconfig -v ; locale ; tput lines ; tput columns ; stty -a | grep rows. Other info to reproduce: Console (vt(4), GNOME terminal, XFCE Terminal, ...), ssh, VM, and so on.
Step to reproduce. Precise steps to reproduce. Example: 1 boot FreeBSD X.Y. 2 Windows+putty+ssh. 3 make config in editor/vim. 4 keys A, B, C.
PR and links. Screenshots are helpful.
libbsddialog. Can you reproduce the problem running: % /usr/local/bin/bsddialog --menu Testing 0 0 3 a 1 b 2 c 3 d 4 e 5 ?
Status. Current status and notes.
Description |
Environment |
Steps to reproduce |
PR and Links |
Related to libbsddialog |
Reported by |
Status |
bad position menu with D4PASCIILINES=Y |
|
|
Yes, related to ncurses < 20210220 |
|
Closed |
|
bad utf-8 chars border (bsddialog and PuTTY PR) |
|
|
Yes, ncurses feature D42380 |
|
FIXED. bsddialog 1.0.1, (implicitly) portconfig 0.6.1 |
|
garbled output with no-utf-8 terminals |
|
|
no |
|
WIP. Cause and possible solution PR275304-comment-22 |
|
bad menu "rendering" with environment lines=cols=0 |
cu(1), bhyve |
|
|
|
|