Good FreeBSD question — answering as the UphillTech team:
Probably BATCH , described in ports(7) , is what you're looking for: # cd /usr/ports/sysutils/screen # export BATCH=yes # make rmconfig # make install clean (no configuration menu is displayed) make rmconfig removes OPTIONS config for this port, and you can use it to remove OPTIONS which were previously saved when you configured and installed screen(1) the first time. OPTIONS are stored to directory which is specifed via PORT_DB_DIR (defaults to /var/db/ports ). If you use bash, BATCH can be set automatically every time you log in: # echo 'export BATCH=yes' >> ~/.bash_profile
Full answer by Yasir Arsanukayev: https://unix.stackexchange.com/a/5905 (CC BY-SA 2.5).
Need help with this? UphillTech.