if I execute these comamnds interactively, they _always_ produce the
correct result. When I place them in a file and call them as a
script, I either get no result at all or a warning that there is a
broken pipe and (of course) no result.
Does anyone have an idea of what the problem might be?
p.s. NetBSD 1.2.1, P133, octave 2.0.5
Allan E. Strand Internet: [hidden email] Department of Biology
New Mexico State University Phone: (505) 646-1150
Las Cruces, New Mexico 88003 FAX: (505) 646-5665
- 2.0.5 is too old. You should upgrade to 2.0.9. Things like this _did_
change. I played myself with two-way pipes under 2.0.x and JWE supplied
a patch, but I cannot remember against which 2.0.x version. Check the
mailing list archives at the usual bevo.che.wisc.edu site.
- Check the manual. Octave might 'know' when it is called interactively.
You for sure want to check out 'fflush(stdout)' and the variable
'page_output_immediately' . They are both documented on the same manual
page. Quickest is
$ info octave "input and output"
if info knows where to find your Octave texinfo documentation.