On Tue, Jul 08, 2008 at 07:34:40AM +0100, Eric Y. Kow wrote: > On Tue, Jul 08, 2008 at 13:10:41 +1000, Trent W. Buck wrote: >> I suggest patching src/Darcs/Utils.lhs to implement "view_file" on >> top of get_viewer, similar to how get_editor and edit_file behave. >> It's extremely sensible to try running more, then cat, if less >> can't be executed -- even on Unix. > > Darcs already does this. Please see src/Darcs/External.hs [...] > There is a known mystery issue with darcs which causes the problem > originally reported in this thread.
Ah, my mistake for not bein' familiar with all the code. Withdrawn. > if isTerminal && lengthGreaterThan (20 :: Int) (lines $ renderString msg) Ever thought of using $LINES instead of (and falling back to) hard-coded 20 :: Int? _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
