(
Jump to the original submission)
Thu 10 Aug 2017 04:13:08 PM UTC, comment #9:
I unset my PAGER environment variable and have verified that Octave now uses the default 'less'. Marking as fixed and closing report.
|
Thu 10 Aug 2017 03:58:39 PM UTC, comment #8:
Oops. Fixed here:
http://hg.savannah.gnu.org/hgweb/octave/rev/8f2d51b6235f
Thanks.
|
Thu 10 Aug 2017 03:06:19 PM UTC, comment #7:
Aren't the functions in defaults.h the intended replacements for the macros that used to be in defaults.h?
octave::config::default_pager() instead of octave::build_env::DEFAULT_PAGER? Yeah, they're identical, but pager.cc already had a '#include "defaults.h"', which is now unused.
|
Thu 10 Aug 2017 02:03:13 PM UTC, comment #6:
I pushed the following changeset:
http://hg.savannah.gnu.org/hgweb/octave/rev/3c5a49805dbd
|
Thu 10 Aug 2017 01:47:32 PM UTC, comment #5:
I think this is a mistake. In previous versions, there was a default pager (normally "less") if the shell PAGER variable was not set.
|
Thu 10 Aug 2017 05:23:57 AM UTC, comment #4:
Maybe ask about it on the octave-maintainers list. There may be a reason why Octave doesn't supply a default, such as 'less' or 'more', when the PAGER environment variable isn't set.
|
Thu 10 Aug 2017 05:02:44 AM UTC, comment #3:
In the shell PAGER is not set and as far as i know it is usually not set in Fedora.
In octave 4.2.1 (and reasonably recent dev version)
PAGER set to "less"
If this is an intended change it is fine with me.
Dmitri.
--
|
Thu 10 Aug 2017 04:47:25 AM UTC, comment #2:
At the shell, what is the value of the PAGER environment variable? If you haven't set anything up then no PAGER will be used.
As another check, start Octave and just type
It will return the name of the PAGER that Octave has configured. My guess is that it is blank for your setup.
|
Thu 10 Aug 2017 04:17:39 AM UTC, comment #1:
I can fix it if I do
Dmitri.
|
Thu 10 Aug 2017 04:14:08 AM UTC, original submission:
In cb8251337689 tip @ pager ("more") is not working.
"more on" does not make any effect.
E.g. "help help" or a=(1:30)' dumps entire output.
Dmitri.
|
(Note: upload size limit is set to 16384 kB, after insertion of the required
escape characters.)
Attach File(s):
Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Follow 4 latest changes.