Can I avoid the display of pkg-messages in portmaster?

Chris Rees crees at FreeBSD.org
Mon May 13 17:44:59 UTC 2013


On 13 May 2013 08:31, Leslie Jensen <leslie at 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


More information about the freebsd-pkg mailing list