Danek Duvall wrote:
> On Wed, Dec 17, 2008 at 03:07:38PM -0600, Shawn Walker wrote:
> 
>> http://cr.opensolaris.org/~swalker/pkg-1931/
> 
> It's not clear to me how adding a carriage return fixes the problem -- the
> print statement there already doesn't emit a newline, so it seems like it
> should work already.
> 
> Could you update the bug with an evaluation?

I'll put the same explanation here, but in short, the last line of 
output from the program is where it's always writing output "...", etc.

Whenever the program exits, it was printing a set of 80 space characters 
to overwrite whatever characters had last been displayed but with a 
trailing ',' to omit the newline.

However, a newline was added anyway on program exit.  By printing a 
carriage return after all the whitespace had overwritten the existing 
output, I was able to prevent the newline from being added while still 
achieving the desired effect.

Cheers,
-- 
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to