Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2013 18:44:28 +0100
From:      Chris Rees <crees@FreeBSD.org>
To:        Leslie Jensen <leslie@eskk.nu>
Cc:        pkg@freebsd.org
Subject:   Re: Can I avoid the display of pkg-messages in portmaster?
Message-ID:  <CADLo839GRmv054VrpAt4WQuWfGpp8UibB_XWST3DiTEtNE9XMA@mail.gmail.com>
In-Reply-To: <519096E4.9060309@eskk.nu>
References:  <519096E4.9060309@eskk.nu>

index | next in thread | previous in thread | raw e-mail

On 13 May 2013 08:31, Leslie Jensen <leslie@eskk.nu> wrote:
>
> I post this to suggest a feature/switch in portmaster, where the display of
> pkg-messages can be chosen.
>
>
> This was posted on freebsd-questions yesterday
>
>
> I do some work on remote machines and sometimes I have a need to execute
> additional commands after for example a portmaster -a command.
>
> Normally I use the "&&" to separate commands but this does not work when
> portmaster displays pkg-messages.
>
> I cannot see in the portmaster manpage that there's a possibility to make
> the choice on displaying pkg-messages.
>
> Maybe a suggestion to further enhance portmaster in the future.
>
> To work around this I was thinking of maybe making a script that ran
>
> portmaster -a then a command to "press space" until one is sure that all
> messages has been displayed.
>
> On this I could need some help. My scripting skills are not that good.

Just set and export PAGER=cat, or something similar.  That should work.

Chris


help

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