# HG changeset patch # User jwe # Date 852787020 0 # Node ID 389b1b5af26616b04c1cc79e8d0284d13dda11f0 # Parent dc3ae90eb88f539e1d2d8f8b503fa086661dd01f [project @ 1997-01-09 05:16:13 by jwe] diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Jan 8 23:12:02 1997 John W. Eaton + + * configure.in (DEFAULT_PAGER): On cygwin32 systems, also look for + more.com. + Tue Jan 7 00:16:35 1997 John W. Eaton * Version 2.0.1 released. diff --git a/README.Windows b/README.Windows --- 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 diff --git a/configure.in b/configure.in --- 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 diff --git a/src/log.cc b/src/log.cc --- 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 ()) {