From owner-freebsd-ports@freebsd.org Thu May 24 15:19:07 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38E53EF460E for ; Thu, 24 May 2018 15:19:07 +0000 (UTC) (envelope-from portmaster@BSDforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8420B71867 for ; Thu, 24 May 2018 15:19:02 +0000 (UTC) (envelope-from portmaster@BSDforge.com) Received: from udns.ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id w4OFLuib030879; Thu, 24 May 2018 08:22:02 -0700 (PDT) (envelope-from portmaster@BSDforge.com) X-Mailer: UDNSMS MIME-Version: 1.0 Cc: "FreeBSD" In-Reply-To: From: "Chris H" Reply-To: portmaster@BSDforge.com To: "Johannes Lundberg" Subject: Re: Pause pkg install messages Date: Thu, 24 May 2018 08:22:02 -0700 Message-Id: <206473ee84c6b75dfce5d544b3112085@udns.ultimatedns.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 May 2018 15:19:07 -0000 On Thu, 24 May 2018 15:39:39 +0100 "Johannes Lundberg" = said > On Thu, May 24, 2018 at 3:25 PM Chris H wrote: >=20 > > On Thu, 24 May 2018 15:02:10 +0100 "Johannes Lundberg" > > said > > > > > On Thu, May 24, 2018 at 2:57 PM Chris H 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 wrote: > > > > > > > > > > > On Thu, 24 May 2018 09:08:17 +0100 > > > > > > Johannes Lundberg 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 > > > > > > > > > > > > > > >