From 8543bd457b6c087a66e4783bbca9f4255f43dfc7 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Fri, 31 Dec 2010 12:41:44 -0500 Subject: [PATCH] Documentation Update - Added discussion of "less -FrX" and the reported problems with Linux 'more' (thanks to Steve Rader). --- doc/man/task-faq.5 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/man/task-faq.5 b/doc/man/task-faq.5 index a46970804..247de067b 100644 --- a/doc/man/task-faq.5 +++ b/doc/man/task-faq.5 @@ -21,6 +21,14 @@ Prevent this with the following entry in your .taskrc file: _forcecolor=on +There is an additional problem with using pagers such as 'less' and 'more'. +When using less, these options will preserve the color codes: + + task ... | less -FrX + +There have been problems reported with the Linux 'more' pager, which inserts +newline characters. + .TP .B Q: How do I backup my taskwarrior data files? Where are they? A: Taskwarrior writes all pending tasks to the file