From bug-octave-request at bevo dot che dot wisc dot edu Fri Dec 15 16:30:38 2000 Subject: Re: Unidentified subject! From: "John W. Eaton" To: teg at redhat dot com (Trond Eivind =?iso-8859-1?q?Glomsr=F8d?=) Cc: Steve Sullivan , bug-octave@bevo.che.wisc.edu Date: Fri, 15 Dec 2000 16:30:09 -0600 On 15-Dec-2000, Trond Eivind =?iso-8859-1?Q?Glomsr=F8d?= wrote: | Make sure you have all updates applied... I would also recommend you | to get the compiler and libstdc++ from rawhide (they are currently in | testing for formal release, but we don't know of any problems with it | currently barring a couple of SPARC bugs) Can you please try the following program with the latest compiler and libraries? You'll need to use an output filter or terminal settings that will actually display NUL characters in the output. When I run this program and output just goes to the xterm window, it looks OK. But if I save the output in a file, and look at the file with Emacs, the first character is an ASCII NUL. #include #include int main (void) { cout << setw (11) << setprecision (4); cout.flags (ios::scientific); cout << 1.23456789 << endl; return 0; } jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------