From help-octave-request at bevo dot che dot wisc dot edu Sun Jan 31 21:05:48 1999 Subject: diary command not functioning properly From: Gary Church To: help-octave at bevo dot che dot wisc dot edu Date: Sun, 31 Jan 1999 19:09:33 PST Hi. I'm using Octave 2.0.13 for OS/2 and have had good luck with almost everything I've tried to do. I have had a few problems however. Right now the major problem I'm having is with the diary command when used in conjunction with scripts and functions. For example, when I run a script in a session under emacs, I see (the '****' are meant to delimit the output): *********************************************************** octave:13>diary bezier.out diary bezier.out octave:14>bezier bezier bezier is the file: I:/octave/scripts/Phys240/bezier.m bezier - Program to draw a bezier curve using four control points. Assumes points are in two dimensions ([x, y]). Enter control point 1: [0 0] [0 0] Enter control point 2: [1 1] [1 1] Enter control point 3: [0 1] [0 1] Enter control point 4: [1 0] [1 0] octave:15>diary off diary off octave:16> ************************************************************ However, the file "bezier.out" contains: ************************************************************ octave:14>bezier bezier is the file: I:/octave/scripts/Phys240/bezier.m bezier - Program to draw a bezier curve using four control points. Assumes points are in two dimensions ([x, y]). Enter control point 1: Enter control point 2: Enter control point 3: Enter control point 4: ************************************************************* What do I have to do to get it to look like the former? Thanks alot, Gary ----------------------------------------------------- Carl Sagan: "In order to make an apple pie from scratch, you must first create the universe." ----------------------------------------------------