Pause pkg install messages

Johannes Lundberg johalun0 at gmail.com
Thu May 24 14:40:18 UTC 2018


On Thu, May 24, 2018 at 3:25 PM Chris H <portmaster at bsdforge.com> wrote:

> On Thu, 24 May 2018 15:02:10 +0100 "Johannes Lundberg" <johalun0 at gmail.com>
> said
>
> > On Thu, May 24, 2018 at 2:57 PM Chris H <portmaster at bsdforge.com> wrote:
> >
> > > On Thu, 24 May 2018 10:03:47 +0100 "Johannes Lundberg" <
> johalun0 at gmail.com>
> > > said
> > >
> > > > On Thu, May 24, 2018 at 9:27 AM Bob Eager <rde at tavi.co.uk> wrote:
> > > >
> > > > > On Thu, 24 May 2018 09:08:17 +0100
> > > > > Johannes Lundberg <johalun0 at gmail.com> wrote:
> > > > >
> > > > > > In addition to that it would be nice (if it's not already done)
> to
> > > > > > store this information in a log file somewhere so that one can
> > > > > > revisit and see what needs to be manually configured for each
> > > > > > installed package.
> > > > >
> > > > > I have this in syslog.conf:
> > > > >
> > > > >  !pkg,pkg-static
> > > > >  *.*                                             /var/log/pkg.log
> > > > >
> > > >
> > > > Thanks for the tip. I'll use this.
> > > > However, someone who knows about this probably know how to manually
> > > > configure their system already.
> > > >
> > > > I want to make sure first timers and newbies don't miss important
> > > messages
> > > > on how to configure the system.
> > > >
> > > > Often we get inquires about stuff that is clearly described in the
> pkg
> > > > message and bug reports that are a consequence of wrong
> configuration.
> > > > How can we make this more clear so that it is not missed?
> > > ports-mgmt/portmaster used (probably still does) to concatenate the
> list
> > > of (port emitted) messages, and dump them to the console/screen when
> the
> > > build/install session completed.
> > > Perhaps pkg(8) could incorporate this, as well?
> > >
> >
> > It does. The problem is there's no paging so all information is scrolled
> > away unless you're on standby with scroll-lock which many computers don't
> > have today...
> Have you tried less(1) or more(1) ?
> eg;
>
> $ cat ~/output-log | less
>
> or, more simply
>
> $ less < ./output-log
>
> HTH
>


You're totally missing the point. The problem is, first timers are missing
important information on how to configure the system when they install the
packages for the first time. Many don't know in advance they have to pipe
the output to a log file which they later can view with a pager.


>
> --Chris
> >
> >
> >
>
>
>


More information about the freebsd-ports mailing list