octave-patch-tracker
[Top][All Lists]
Advanced

[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/




reply via email to

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