From owner-freebsd-ports@freebsd.org Thu May 24 14:40:18 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 D4322EF358E for ; Thu, 24 May 2018 14:40:17 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E97536F1DD for ; Thu, 24 May 2018 14:40:16 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wm0-x22e.google.com with SMTP id j4-v6so5858061wme.1 for ; Thu, 24 May 2018 07:40:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=86fQvGG0jcfFfsxi78C/ytCOz6tL2Qfg1m1Nqs1EEI4=; b=Me/sAYrCk/cG4LaGN4Uye/h5cPuVM52DwXmCQFVdphZp85KSzrQU6l6ipe3ZIrDuB5 B1PicvI2B0YKt2PU3cBOfaKIBkGA+pWWRPQlSSnITMl4I5nuncooOhOhwiWV9uCbOz/A sPdJZ7dSc3pUXYfT+KMlKEBmTcF/f2YzRCV2LXB9/4WYnPEpJCI/J+6g58aelmQlXT55 5PBNfV9n1l+WClR1/XDwFINvzjUBRbJ0EM2j7N9KfZN8ilARBEC4lOSyPeYCboMfbOiL 7cQaBK78hpvd0w5PgcY8uKfaL/kNQ+tRCOxcQCN4OaTCUSJF9Hk9/MNMErO8XK3WXpiH CbJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=86fQvGG0jcfFfsxi78C/ytCOz6tL2Qfg1m1Nqs1EEI4=; b=SgW9Nz5lBJ2kfFzgLKiWaGTGEZ49bbKqtbbbF1WAg13k1Bu6xPSe3NQ4o2HMNlbk92 FLwItZ+vNMXY78IoqiGn7fHM1sbJgLDp2j3SD4G+XEGrS0kaxRz7/CUROn7O8Oc1BX6v hmPca+6qWhsA1gtI0TZjjvf63jBregG0f9vr0uHbUXTVNdZK8rUU6Zs8uCv6xvk9Aw+r AjOdLRYovc9awvLJLHH5V57X4jAJHvrJ6XwtRN/6zq1jAOXrokg13nI8AV1D+OxwpxCU HF1P39nEfvYCaC8jOPG5OipmbZ3tDwdJa8BLUDbRXA2ks2FfvpgFrUioQWP4MMUeEvfW Z1Sg== X-Gm-Message-State: ALKqPweorKJktj4Hr95BgnVkbvYGvmjIIdj+Na/1aNgT+9Hgkebp6Yfd E25gIdm/fiB8bDt8uNwt05924g6c1JSGzyM4o0n+Zg== X-Google-Smtp-Source: AB8JxZpgzWXZyEs51Js1zN6cL/v934RkpQt1C0ly/oovg8tLgWZIlH2VagpA88yZi7w4mhLXSsw6w0jX3h7Pz41qvQo= X-Received: by 2002:a1c:9ec2:: with SMTP id h185-v6mr8319871wme.68.1527172815816; Thu, 24 May 2018 07:40:15 -0700 (PDT) MIME-Version: 1.0 References: <18849bece4880a6b3eef390f852cbe12@udns.ultimatedns.net> In-Reply-To: <18849bece4880a6b3eef390f852cbe12@udns.ultimatedns.net> From: Johannes Lundberg Date: Thu, 24 May 2018 15:39:39 +0100 Message-ID: Subject: Re: Pause pkg install messages To: portmaster@bsdforge.com Cc: FreeBSD , rde@tavi.co.uk Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 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 14:40:18 -0000 On Thu, May 24, 2018 at 3:25 PM Chris H wrote: > On Thu, 24 May 2018 15:02:10 +0100 "Johannes Lundberg" > said > > > On Thu, May 24, 2018 at 2:57 PM Chris H 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 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 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 > > > > > > > > >