Mailinglist Archive: opensuse-buildservice (148 mails)

< Previous Next >
Re: [opensuse-buildservice] osc flushing stdout
On Fri 08 May 2015 03:44:57 NZST +1200, Greg Freemyer wrote:

Is there a way to force osc to keep flushing stdout, even if it thinks
output is not to a terminal?

Does this work:

stdbuf --output=0 osc .... > output-log

It does indeed! -oL is sufficient, but I havent' checked with prompts
yet. Very useful command I didn't know existed.

Rüdiger's example is another case where no line buffering is
problematic, never mond prompting for user input on a blank screen.

https://bugzilla.novell.com/show_bug.cgi?id=930137

Thanks very much,

Volker

--
Volker Kuhlmann
http://volker.top.geek.nz/ Please do not CC list postings to me.
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups