From bug-octave-request at bevo dot che dot wisc dot edu Wed Jan 26 00:34:06 2000 Subject: Resizing xterm while running Octave From: "John W. Eaton" To: Dirk Laurie Cc: bug-octave at bevo dot che dot wisc dot edu Date: Wed, 26 Jan 2000 00:34:10 -0600 (CST) On 21-Apr-1999, John W. Eaton wrote: | On 20-Apr-1999, Dirk Laurie wrote: | | | [I'm still on 2.0.13] | | | | I get annoyed with Octave using a pager for output, which then vanishes | | off my screen, or splitting a matrix into two parts, so I resize the xterm | | to have more lines or columns respectively. Octave does not notice the | | difference and fails to use the extra space. | | | | system('resize') resets the environment variables COLUMNS and LINES, | | but Octave takes no notice. I can't find any variables with | | who -builtins | | that seem to be related to xterm size. | | | | If I quit Octave and restart, Octave does use the extra space. | | | | How can I persuade Octave to notice a resizing of the xterm without | | quitting? | | I'm not sure. It looks like a bug in handling SIGWINCH. So far I've | been unsuccessful in trying to pin it down. I think I've found a fix for this problem now. I've checked the changes in to the CVS archive for the current development sources, and also added it to the 2.0.x source tree, so the fix should appear in 2.0.16 too. Thanks, jwe ----------------------------------------------------------------------- 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 -----------------------------------------------------------------------