[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
irritating output of `clear screen` commands
From: |
John W. Eaton |
Subject: |
irritating output of `clear screen` commands |
Date: |
Sat, 20 May 2000 02:05:01 -0500 (CDT) |
On 19-May-2000, Gerald Marewo <address@hidden> wrote:
| Hie.
|
| Our system administrator has just downloaded and installed
| octave 2.0.16
| One irritating thing I have just noticed in this version is that
| the commands
| home, and
| clc
| do not exactly clear the screen. Below is a typical output from
| either commands.
| octave:3> clc()octave:4>
|
| Is there any way of getting rid of this behavior and get the
| expected behavior?
|
| Another question is:
| * What new features or bug fixes come with 'octave 2.0.16'?
|
| Any form of help would be greatly appreciated. Thanks in advance.
Please try the following patch.
Thanks,
jwe
2000-05-20 John W. Eaton <address@hidden>
* sysdep.cc (Fclc): Call _rl_clear_screen instead of rl_clear_screen.
*** src/sysdep.cc~ Thu Oct 21 02:04:08 1999
--- src/sysdep.cc Sat May 20 02:02:25 2000
***************
*** 388,399 ****
#endif
}
DEFUN (clc, , ,
"clc (): clear screen")
{
octave_value_list retval;
! rl_clear_screen (0, 0);
return retval;
}
--- 388,401 ----
#endif
}
+ extern "C" void _rl_clear_screen ();
+
DEFUN (clc, , ,
"clc (): clear screen")
{
octave_value_list retval;
! _rl_clear_screen ();
return retval;
}
-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.che.wisc.edu/octave/octave.html
How to fund new projects: http://www.che.wisc.edu/octave/funding.html
Subscription information: http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------