[darcs-users] darcs-2 help behavior
John Clayton
john at fivesquaresoftware.com
Mon Nov 3 01:01:06 UTC 2008
Just installed darcs 2.1 and now I get this on quitting each
invocation of darcs help command_name:
Command not found:
["less -X"]
In my environment I have PAGER='less -X' because I like to leave stuff
on the screen for reference. Obviously this is not interacting well
with darcs' use of less. Does anyone know a way to fix this? I saw
the solution below where darcs was aliased to set the PAGER var to
'cat' explicitly each time, which got rid of the error. I am wondering
though does anyone know what's triggering this error specifically when
i 'quit' the darcs pager and is there something I could do to fix just
that?
On Oct 11, 2008, at 2:48 AM, Dan Pascu wrote:
> Trent W. Buck wrote:
>> Dan Pascu <dan at ag-projects.com> writes:
>>
>>> I'm not against such a feature. I'm against the fact that is enabled
>>> by default, in such a way that it's next to impossible to disabled
>>> it
>>> without affecting some other part of darcs or the other
>>> applications.
>>>
>>> A --pager option to the help command would solve this nicely. It
>>> should default to off, so the old behavior is possible. At the same
>>> time anyone who wants a pager by default can add to ~/.darcs/
>>> defaults
>>> a line like
>>>
>>> help pager
>>>
>>
>> Rather I think it should be --paged or --not-paged. To me, --pager
>> implies that it takes an argument -- which pager to use.
>>
>> There's already darcs changes --interactive, which changes darcs
>> changes
>> to listen to the user rather than just dumping everything to stdout.
>> Perhaps this feature should also be called --interactive?
>>
>>
>
> Any of your proposals are better than mine, though --interactive
> suggests that the user will provide some input, which he is not,
> except
> if we consider that him pressing the up/down keys to navigate the
> output
> is input.
>
> --
> Dan
>
> _______________________________________________
> darcs-users mailing list
> darcs-users at darcs.net
> http://lists.osuosl.org/mailman/listinfo/darcs-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osuosl.org/pipermail/darcs-users/attachments/20081102/641185c4/attachment.htm
More information about the darcs-users
mailing list