Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2018 15:39:39 +0100
From:      Johannes Lundberg <johalun0@gmail.com>
To:        portmaster@bsdforge.com
Cc:        FreeBSD <freebsd-ports@freebsd.org>, rde@tavi.co.uk
Subject:   Re: Pause pkg install messages
Message-ID:  <CAECmPwuk=Ff3ziigApeksf_dZ0Fh%2B71ByZNf%2Byk06VbesjJ0kQ@mail.gmail.com>
In-Reply-To: <18849bece4880a6b3eef390f852cbe12@udns.ultimatedns.net>
References:  <CAECmPwsvTXr4gqrGfWJFh2jeL1_PsA2vJwyt8%2BKP%2Bm7L=KeJTg@mail.gmail.com> <18849bece4880a6b3eef390f852cbe12@udns.ultimatedns.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 24, 2018 at 3:25 PM Chris H <portmaster@bsdforge.com> wrote:

> On Thu, 24 May 2018 15:02:10 +0100 "Johannes Lundberg" <johalun0@gmail.com>
> said
>
> > On Thu, May 24, 2018 at 2:57 PM Chris H <portmaster@bsdforge.com> wrote:
> >
> > > On Thu, 24 May 2018 10:03:47 +0100 "Johannes Lundberg" <
> johalun0@gmail.com>
> > > said
> > >
> > > > On Thu, May 24, 2018 at 9:27 AM Bob Eager <rde@tavi.co.uk> wrote:
> > > >
> > > > > On Thu, 24 May 2018 09:08:17 +0100
> > > > > Johannes Lundberg <johalun0@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
> >
> >
> >
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAECmPwuk=Ff3ziigApeksf_dZ0Fh%2B71ByZNf%2Byk06VbesjJ0kQ>