Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2018 06:49:51 -0700
From:      "Chris H" <portmaster@BSDforge.com>
To:        "Johannes Lundberg" <johalun0@gmail.com>
Cc:        "Eugene Grosbein" <eugen@grosbein.net>, "FreeBSD" <freebsd-ports@freebsd.org>
Subject:   Re: Pause pkg install messages
Message-ID:  <dcd0b000a2f5652ea2c2ca12be66cf0a@udns.ultimatedns.net>
In-Reply-To: <5B067A5A.40706@grosbein.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 24 May 2018 15:39:54 +0700 "Eugene Grosbein" <eugen@grosbein=2Enet> s=
aid

> On 24=2E05=2E2018 15:08, Johannes Lundberg wrote:
> > Hi
> >=20
> > The first thing me and probably many other do after install is
> > pkg install xxx yyy zzz
> > from console (meaning no scrollback buffer)=2E
> >=20
> > With xorg and friends this means hundreds of packets=2E After install all=
 the
> > pkg messages are display and most of sometimes very valuable informatio=
n is
> > just scrolled away=2E
> >=20
> > Is there an easy way to fix* this by piping the output through less or
> > something to pause for each screen so that the messages just aren't
> > scrolled away?
> >=20
> > In addition to that it would be nice (if it's not already done) to stor=
e
> > this information in a log file somewhere so that one can revisit and se=
e
> > what needs to be manually configured for each installed package=2E
> >=20
> > *by fix I mean something that does not put the burden on the user=2E
>=20
> Installation/deinstallation of packages logged by default to
> /var/log/messages=2E
> Syscons console has scrollback buffer by default=2E
> If vt(4) has not, that's regression after syscons and should be fixed in =
the
> vt=2E
>=20
> Also, one can have, for tcsh: alias pkg 'script -a /var/log/pkg=2Elog
> pkg-static'
> So "pkg install xxx yyy zzz" adds fulls output to specified file=2E
+1

I simply fire
$ script ~/pkg-install-session

build, or pkg install

$ exit

Then grep(1) the results for desired info=2E
It also allows me to discover any (serious) warnings that may have
been emitted=2E

HTH

--Chris
>





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