🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs.2bsd
Article #210

Re: bug in script

#210
From: Joseph S. D. Yao
Date: Wed, 20 Feb 1985 06:11
11 lines
1102 bytes
> 	script "buffers" lines from application programs and does
> 	not print them at the proper time. Sometimes input must be
> 	accepted before output is printed.

Actually, this is a general problem, not limited to 2bsd.  Solve by
flushing output after print/printf, or by declaring output unbuffered
to begin with.  In C, the latter is:
	setbuf(stdout, (FILE *)NULL);
I don't know what the Furtrann for that would be.

Joe Yao		hadron!jsdy@seismo.{ARPA,UUCP}
Technical Details
Message-ID: <104@hadron.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!ihnp4!houxm!mhuxj!mhuxr!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!rlgvax!prcrs!hadron!jsdy
References: <681@unmvax.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site hadron.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!ihnp4!houxm!mhuxj!mhuxr!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!rlgvax!prcrs!hadron!jsdy
From: jsdy@hadron.UUCP (Joseph S. D. Yao)
Newsgroups: net.bugs.2bsd
Subject: Re: bug in script
Message-ID: <104@hadron.UUCP>
Date: Wed, 20-Feb-85 01:11:31 EST
Article-I.D.: hadron.104
Posted: Wed Feb 20 01:11:31 1985
Date-Received: Fri, 1-Mar-85 05:59:53 EST
References: <681@unmvax.UUCP>
Distribution: net
Organization: Hadron, Inc., Fairfax, VA
Lines: 11