portupgrade-devel: 2 feature requests

Alex Zbyslaw xfb52 at dial.pipex.com
Fri Feb 15 11:30:23 UTC 2008

Matthew D. Fuller wrote:

>And it
>doesn't tell me anything unless I happen to be watching the terminal
>at just the right time, and read quick before it scrolls off.  I have
>to wait 'till the end for any details that.
portupgrade {your stuff} |& tee /tmp/portupgrade.log   # [1]

Now you can just use less on /tmp/portupgrade.log and still have the 
on-screen stuff.  Of course, stuff like curses option screens look a bit 
weird viewed in less, but if all you want is to find the last summary, 
that should be easy with less and you could even write an alias to do it 
automatically, I'm sure.

You can also go old-skool and just use ^S to stop the output, scroll 
your xterm back up to see what you want, then ^Q to restart output.  If 
you ^S for too long the builds will pause when the output buffer fills 
up, so you do have to remember to ^Q. [2]


[1] csh syntax.  "2>&1 |" for sh
[2] If you're not doing this under X, then scroll-lock, page-up/down 
etc, and scroll-lock to restart.

More information about the freebsd-ports mailing list