Re: Problem while viewing rotated log files



Hello Oleg,

On Wed, 2005-07-06 at 13:52, Oleg Tarasov wrote:
Leonard den Ottolander <leonard den ottolander nl> wrote:
So, */log/* and */logs/* covers almost all possible situations.
I'm looking forward for a patch correcting this problem.

Already committed. Posted this to mc-devel gnome org 
http://savannah.gnu.org/cgi-bin/viewcvs/mc/mc/lib/mc.ext.in.diff?r1=1.73.2.5&r2=1.73.2.6
http://savannah.gnu.org/cgi-bin/viewcvs/mc/mc/lib/mc.ext.in.diff?r1=1.79&r2=1.80

And also:
http://savannah.gnu.org/cgi-bin/viewcvs/mc/mc/lib/mc.ext.in.diff?r1=1.73.2.4&r2=1.73.2.5
http://savannah.gnu.org/cgi-bin/viewcvs/mc/mc/lib/mc.ext.in.diff?r1=1.78&r2=1.79

By matching for */log/* or */logs/* most .[1-9] files are viewed using
groff. I consider this a good thing. Plus the user can override this,
but not the other way around.

I don't see a way to override this... As I've said before, viewing in
raw mode makes bzip'ed files unreadable.

In the case of man pages/log files they are piped through [bg]zip first.
The earlier patch puts the more generic match for compressed files at
the end.

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]