Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2018 08:22:02 -0700
From:      "Chris H" <portmaster@BSDforge.com>
To:        "Johannes Lundberg" <johalun0@gmail.com>
Cc:        "FreeBSD" <freebsd-ports@freebsd.org>
Subject:   Re: Pause pkg install messages
Message-ID:  <206473ee84c6b75dfce5d544b3112085@udns.ultimatedns.net>
In-Reply-To: <CAECmPwuk=Ff3ziigApeksf_dZ0Fh%2B71ByZNf%2Byk06VbesjJ0kQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 24 May 2018 15:39:39 +0100 "Johannes Lundberg" <johalun0@gmail=2Ecom>=
 said

> On Thu, May 24, 2018 at 3:25 PM Chris H <portmaster@bsdforge=2Ecom> wrote:
>=20
> > On Thu, 24 May 2018 15:02:10 +0100 "Johannes Lundberg" <johalun0@gmail=2E=
com>
> > said
> >
> > > On Thu, May 24, 2018 at 2:57 PM Chris H <portmaster@bsdforge=2Ecom> wro=
te:
> > >
> > > > On Thu, 24 May 2018 10:03:47 +0100 "Johannes Lundberg" <
> > johalun0@gmail=2Ecom>
> > > > said
> > > >
> > > > > On Thu, May 24, 2018 at 9:27 AM Bob Eager <rde@tavi=2Eco=2Euk> wrote:
> > > > >
> > > > > > On Thu, 24 May 2018 09:08:17 +0100
> > > > > > Johannes Lundberg <johalun0@gmail=2Ecom> wrote:
> > > > > >
> > > > > > > In addition to that it would be nice (if it's not already don=
e)
> > to
> > > > > > > store this information in a log file somewhere so that one ca=
n
> > > > > > > revisit and see what needs to be manually configured for each
> > > > > > > installed package=2E
> > > > > >
> > > > > > I have this in syslog=2Econf:
> > > > > >
> > > > > >  !pkg,pkg-static
> > > > > >  *=2E*                                             /var/log/pkg=2El=
og
> > > > > >
> > > > >
> > > > > Thanks for the tip=2E I'll use this=2E
> > > > > However, someone who knows about this probably know how to manual=
ly
> > > > > configure their system already=2E
> > > > >
> > > > > I want to make sure first timers and newbies don't miss important
> > > > messages
> > > > > on how to configure the system=2E
> > > > >
> > > > > Often we get inquires about stuff that is clearly described in th=
e
> > pkg
> > > > > message and bug reports that are a consequence of wrong
> > configuration=2E
> > > > > 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 whe=
n
> > the
> > > > build/install session completed=2E
> > > > Perhaps pkg(8) could incorporate this, as well?
> > > >
> > >
> > > It does=2E The problem is there's no paging so all information is scrol=
led
> > > away unless you're on standby with scroll-lock which many computers d=
on't
> > > have today=2E=2E=2E
> > Have you tried less(1) or more(1) ?
> > eg;
> >
> > $ cat ~/output-log | less
> >
> > or, more simply
> >
> > $ less < =2E/output-log
> >
> > HTH
> >
>=20
>=20
> You're totally missing the point=2E
Not entirely=2E :-)
I'm suggesting that there *are* solutions, and that
1) either (pkg) present them at the end of a session
or
2) these be documented/mentioned in the FreeBSD/pkg documentation (for
first timers)

FWIW given that (t)csh is the default shell && that PAGER is already define=
d
in ~/=2Ecshrc as more(1) (which is less)=2E "paging" a document/file should alr=
eady
understood=2E :-)

So the indication that one should use (type)script(1) before starting a
build/install session (if one is concerned about details) is probably the
real issue here=2E Which would be a good candidate for the FreeBSD/pkg docs
IMHO=2E

--Chris

> The problem is, first timers are missing
> important information on how to configure the system when they install th=
e
> packages for the first time=2E Many don't know in advance they have to pipe
> the output to a log file which they later can view with a pager=2E
>=20
>=20
> >
> > --Chris
> > >
> > >
> > >
> >
> >
> >





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?206473ee84c6b75dfce5d544b3112085>