Mercurial > octave
diff libinterp/corefcn/toplev.cc @ 24801:daf61c7dfcae
Change default status of pager to "off" (bug #53217).
* NEWS: Announce change, and workaround for users who want pager enabled.
* pager.cc (Vpage_screen_output): Change static variable initialization to false.
* intro.txi: Delete paragraph mentioning that output is always sent through
pager.
* io.txi: Rewrite section on Paging Screen Output.
* file-io.cc (Fstdout): Change documentation to say that stream MAY be filtered
through a pager.
* toplev.cc (Fsystem): Rewrite documentation showing how to use system command
with a pager.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 27 Feb 2018 10:39:21 -0800 |
parents | 5d8c4cbc56d7 |
children | a41e264609c0 |
line wrap: on
line diff
--- a/libinterp/corefcn/toplev.cc Tue Feb 27 08:57:21 2018 -0800 +++ b/libinterp/corefcn/toplev.cc Tue Feb 27 10:39:21 2018 -0800 @@ -175,6 +175,7 @@ @example @group [~, text] = system ("cmd"); +more on; disp (text); @end group @end example @@ -183,7 +184,10 @@ or @example +@group +more on; printf ("%s\n", nthargout (2, "system", "cmd")); +@end group @end example The @code{system} function can return two values. The first is the