help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Querying more status


From: John W. Eaton
Subject: Querying more status
Date: Wed, 30 Jan 2008 03:07:30 -0500

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

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]