Number: 279
Title: colorize does not work with pipe or redirection
Submitter: Denis Lebeuf
Date: Thu Apr 10 19:41:57 2003
Subsys: Other
Version: 1.9.0
System: *-*-*
Severity: major
Problem:
When redirecting output of colorize to a pipe or file, output is absent (small networks) or incomplete (big networks)

For example, dot tst | colorize will produce a correct and valid output while dot tst | colorize > foo or dot tst | colorize | cat or dot tst | colorize | dot <whatever options> will produce no result at all if the input network is small or an incomplete result if the input network is big.

Problem occurs with the binary package of 1.9.0. I have also tried the latest CVS version (graphviz-1.9.20030409.0415) and compiled it (with gcc 2.96) and got the same results. Some kind of flushing is not occuring???
Input:

digraph test123 {
a [color=red];
a -> b -> c
a -> c
}
Comments:
[erg] Initially reported for linux, it also occurs on irix, but only for code built using gnu make and using dynamic libraries. In addition, the same problem occurs with ccomps. acyclic, tred and dot2gxl.
Owner: ellson
Status: Fixed (12 April 2003)