[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #9022] Page help, ls, dir, even when "more
From: |
Lachlan Andrew |
Subject: |
[Octave-patch-tracker] [patch #9022] Page help, ls, dir, even when "more" is off |
Date: |
Wed, 15 Jun 2016 00:08:34 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:47.0) Gecko/20100101 Firefox/47.0 |
Follow-up Comment #2, patch #9022 (project octave):
Thanks for the feedback, Mike. I'll look into pager.attend.
I had been thinking of having a variable that lets the user pick a set of
commands whose output should be paged, but went for the simpler option.
I can see a case for paging large vectors, but my code (as I assume much code)
outputs very many small values as it progresses.
I'm not sure what you mean by "Having an empty PAGER variable would usually
mean that the program picks a default value for you. Which is exactly what
Octave does." That is sensible use of the PAGER *environment* variable. This
patch doesn't change that. It just allows Octave's *internal* PAGER variable
to be set explicitly to empty. If you want an empty value to be treated
differently, perhaps we should modify "pager_cmd" so that it doesn't test for
PAGER being empty.
My first thought was to suggest using "cat", but that doesn't seem to be
available on Windows.
I won't lose any sleep if this patch is never applied to the main Octave
codebase :) It just serves my needs, and I though others may benefit from it
too. That said, if some tweaks make it acceptable for the main codebase, I'll
try to make it as useful as I can.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?9022>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-patch-tracker] [patch #9022] Page help, ls, dir, even when "more" is off, Lachlan Andrew, 2016/06/10
- [Octave-patch-tracker] [patch #9022] Page help, ls, dir, even when "more" is off, Lachlan Andrew, 2016/06/10
- [Octave-patch-tracker] [patch #9022] Page help, ls, dir, even when "more" is off, Mike Miller, 2016/06/12
- [Octave-patch-tracker] [patch #9022] Page help, ls, dir, even when "more" is off,
Lachlan Andrew <=
- [Octave-patch-tracker] [patch #9022] Page help, ls, dir, even when "more" is off, Mike Miller, 2016/06/14
- [Octave-patch-tracker] [patch #9022] Page help, ls, dir, even when "more" is off, Lachlan Andrew, 2016/06/15
- [Octave-patch-tracker] [patch #9022] Page help, ls, dir, even when "more" is off, Philip Nienhuis, 2016/06/18
- [Octave-patch-tracker] [patch #9022] Page help, ls, dir, even when "more" is off, Lachlan Andrew, 2016/06/19
- [Octave-patch-tracker] [patch #9022] Page help, ls, dir, even when "more" is off, Lachlan Andrew, 2016/06/22
- [Octave-patch-tracker] [patch #9022] Allow paging of some but not all commands, Lachlan Andrew, 2016/06/23
- [Octave-patch-tracker] [patch #9022] Allow paging of some but not all commands, John W. Eaton, 2016/06/23
- [Octave-patch-tracker] [patch #9022] Allow paging of some but not all commands, Lachlan Andrew, 2016/06/23
- [Octave-patch-tracker] [patch #9022] Allow paging of some but not all commands, Lachlan Andrew, 2016/06/23
- [Octave-patch-tracker] [patch #9022] Allow paging of some but not all commands, Lachlan Andrew, 2016/06/23