Bug 197670

Summary: ports-mgmt/pkg should pipe package installation messages through less when there are lots of them
Product: Ports & Packages Reporter: jgoerzen
Component: Individual Port(s)Assignee: freebsd-pkg mailing list <pkg>
Status: New ---    
Severity: Affects Many People CC: emaste, tablosazi.farahan
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description jgoerzen 2015-02-14 23:26:30 UTC
After running pkg install with a few packages on the command line, it wound up installing 300+ packages to fulfill the dependencies.  Many of them had messages to communicate at the end, but they all scrolled by.  For anyone that didn't think to capture the pkg output with script or tee, this may lead them to miss important information.

If pkg's controlling terminal is a tty and it has lots of messages to communicate, it should automatically pipe them through less.

The messages I'm talking about are this sort:

Message for xfce4-session-4.10.1_3:
 To be able to shutdown or reboot your system, you'll have to add a .pkla file
in /usr/local/etc/polkit-1/localauthority/50-local.d directory. Which looks
like this (replace PUTYOURGROUPHERE by your group):

etc.

The suggestion to file this feature request came from http://article.gmane.org/gmane.os.freebsd.questions/311847
Comment 1 vali gholami 2017-12-17 07:11:40 UTC
MARKED AS SPAM