[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Querying more status
From: |
Thomas Weber |
Subject: |
Re: Querying more status |
Date: |
Wed, 30 Jan 2008 10:06:20 +0100 |
Am Mittwoch, den 30.01.2008, 03:07 -0500 schrieb John W. Eaton:
> On 29-Jan-2008, Olivier Lefevre wrote:
>
> | There seems to be a small hole in the Octave API: you
> | can toggle pagination on and off using 'more' but AFAICT
> | there is no way to find out what is the current state.
>
> No, that seems to be a limitation of Matlab.
>
> In Octave, you can use page_screen_output to determine the current
> state:
>
> octave:1> page_screen_output
> ans = 1
> octave:2> more off
> octave:3> page_screen_output
> ans = 0
> octave:4> more on
> octave:5> page_screen_output
> ans = 1
Documentation patch for this.
2008-01-30 Thomas Weber <address@hidden>
* pager.cc: Mention page_screen_output in more's help.
Thomas
more.diff
Description: Text Data