changeset 2605:389b1b5af266

[project @ 1997-01-09 05:16:13 by jwe]
author jwe
date Thu, 09 Jan 1997 05:17:00 +0000
parents dc3ae90eb88f
children 3af908471cc5
files ChangeLog README.Windows configure.in src/log.cc
diffstat 4 files changed, 23 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jan  8 23:12:02 1997  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* configure.in (DEFAULT_PAGER): On cygwin32 systems, also look for
+	more.com.
+
 Tue Jan  7 00:16:35 1997  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* Version 2.0.1 released.
--- a/README.Windows
+++ b/README.Windows
@@ -33,9 +33,13 @@
 * GNU info doesn't work yet.  It compiles but doesn't run.  Perhaps the
   problem is just that a proper termcap entry needs to be defined.
 
-* If you have a working version of less, the pager will probably work.
-  The GNU-WIN32 tools used to include a copy of less, but I am told it
-  was dropped from the distribution because it didn't work very well.
+* If no other pager can be found, Octave will use more.com.  Since
+  that's a pretty limited pager (no going backward, etc.) you may want
+  to find a working version of less.  The GNU-WIN32 tools used to
+  include a copy of less, but I am told it was dropped from the
+  distribution because it didn't work very well.  If you know of a
+  better port of less that will work with Octave, please contact
+  bug-octave@bevo.che.wisc.edu.
 
 * To make plotting work, you will need to find a version of gnuplot
   that can read commands from a pipe.  The binary versions of gnuplot
@@ -62,4 +66,4 @@
 University of Wisconsin-Madison
 Department of Chemical Engineering
 
-Tue Dec 10 01:00:52 1996
+Wed Jan  8 23:15:59 1997
--- a/configure.in
+++ b/configure.in
@@ -21,7 +21,7 @@
 ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 ### 02111-1307, USA. 
 
-AC_REVISION($Revision: 1.243 $)
+AC_REVISION($Revision: 1.244 $)
 AC_PREREQ(2.9)
 AC_INIT(src/octave.cc)
 AC_CONFIG_HEADER(config.h)
@@ -1055,7 +1055,14 @@
   AC_MSG_WARN([at the Octave prompt.])
 fi
 
-AC_CHECK_PROGS(DEFAULT_PAGER, less more page pg, [])
+octave_possible_pagers="less more page pg"
+case "$canonical_host_type" in
+  *-*-cygwin32)
+    octave_possible_pagers="$octave_possible_pagers more.com"
+  ;;
+esac
+
+AC_CHECK_PROGS(DEFAULT_PAGER, $octave_possible_pagers, [])
 if test -z "$DEFAULT_PAGER"; then
   AC_MSG_WARN([I couldn't find `less', `more', `page', or `pg'])
 fi
--- a/src/log.cc
+++ b/src/log.cc
@@ -184,7 +184,7 @@
   else if (arg.is_complex_scalar ())
     {
       Complex c = arg.complex_value ();
-      retval(0) = log (c);
+      retval(0) = sqrt (c);
     }
   else if (arg.is_real_type ())
     {