Thanks, Tommy.

Is this going to be integrated upstream too?  It looks like it tries
running pager if it can, and if not calls less, then more, which seems
fine for all architectures.  I don't actually know how standard PAGER
or pager are.

peace,

  isaac

Tommy Pettersson <[EMAIL PROTECTED]> writes:

> Here's a patch that would fix this for debian:
>
>
> diff -rN -u old-tmp/DarcsArguments.lhs new-tmp/DarcsArguments.lhs
> --- old-tmp/DarcsArguments.lhs        2006-04-14 19:07:42.870278766 +0200
> +++ new-tmp/DarcsArguments.lhs        2006-04-14 19:07:42.964255921 +0200
> @@ -882,10 +882,11 @@
>  view_file f = do
>    viewer <- get_viewer
>    exec_interactive viewer [f]
> +             `ortryrunning` exec_interactive "less" [f]
>               `ortryrunning` exec_interactive "more" [f]
>  get_viewer :: IO String
>  get_viewer = getEnv "DARCS_PAGER" `catchall`
> -             getEnv "PAGER" `catchall` return "less"
> +             getEnv "PAGER" `catchall` return "pager"
>  \end{code}
>  
>  \begin{code}
>
>
> -- 
> Tommy Pettersson <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to