<div dir="auto">Thanks for the tip! I’ll try that last one because I do need the rest of the output.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 22 Sep 2022 at 22:06, Clemens Lang <<a href="mailto:cal@macports.org">cal@macports.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Lukas,<br>
<br>
On Thu, Sep 22, 2022 at 03:58:08PM +0100, Lukas Oberhuber wrote:<br>
> I’m running macports on a server where the progress bars when building<br>
> from source fill up the output log (new full line for each update). Is<br>
> there a way to silence the progress bar?<br>
<br>
The relevant code checks<br>
<br>
- whether stdout is a tty<br>
- whether the Tcl term::ansi::send package is available and can be<br>
  loaded (you probably can't mess with this one easily)<br>
- whether port has been invoked with the -q option (for quiet)<br>
<br>
There is currently no other way to disable the progress bar, but it<br>
would probably not be very complicated to add one.<br>
<br>
The simplest way to disable the progress bar would be piping the output<br>
of the port command somewhere, e.g. using<br>
<br>
  port upgrade outdated | cat<br>
<br>
This makes stdout a pipe rather than a tty and thus invalidates the<br>
first condition.<br>
<br>
HTH,<br>
Clemens<br>
</blockquote></div></div>